Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make Microsoft Edge work with VVV sites #1523

Closed
afercia opened this issue May 24, 2018 · 31 comments
Closed

How to make Microsoft Edge work with VVV sites #1523

afercia opened this issue May 24, 2018 · 31 comments

Comments

@afercia
Copy link

afercia commented May 24, 2018

Microsoft Edge has network problems, especially for unusual network stuff. It's impossible to see a VVV site in Edge. It's a known issue, just google for "Edge Hmmm... cannot reach this page" and you will find tons of reports and suggestions. 99% of them didn't work for me.

screenshot 3

It's an Edge bug, nothing wrong with Virtualbox and VVV.

Eventually, I've found a solution but it requires to edit a Windows registry key, For people who need to test with all browsers, worth considering to document the fix. See this comment:

https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/10142843/#comment-8

You can workaround this issue by changing your VirtualBox Host-Only Ethernet Adapter’s "*NdisDeviceType" to 0 and rebooting. You can find the key in Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4d36e972-e325-11ce-bfc1-08002be10318}\00XX. The downside to this is that now you’ll have an “Unidentified Network” in your Network and Sharing Center. It’s also managed by Windows Firewall now and by default it is in the Public Profile and it can’t be really changed easily.

For me, the path to the registry key was slightly different and ended with \0016, I guess the commenter meant to search in any of the sub-folders that start with 00. The key to edit is *NdisDeviceType (it really starts with an asterisk) and needs to be changed from 1 to 0.

Being a registry edit, people should really know what they're doing, so in any case a registry backup, or bookmarking the key to easily find it again and revert would be highly recommended.

What I'd suggest:

  • ask other people to test if the fix works for them too
  • make a decision if documenting the fix would be beneficial
  • maybe provide a .reg file to change the key
@tomjn
Copy link
Member

tomjn commented May 24, 2018 via email

@afercia
Copy link
Author

afercia commented May 24, 2018

What's the error message it gives under details

It's the very enlightening INET_E_RESOURCE_NOT_FOUND.

As said, this isn't a Virtualbox / Vagrant / VVV issue. All other browsers on Windows 10 work. Edge doesn't. I always had this problem also on another Windows machine. However, I really need to test on all browsers using different assistive technologies, and I guess other developers would like to test with Edge too. This fix is the only one that worked for me.

I'm aware of the changes in core related to the build step, thanks 🙂

@ghost
Copy link

ghost commented May 24, 2018

am i imagining this, i thought that edge worked before... if it didn't, no one actually tested Edge?

now i really wanna go back to the previous state and test the older VVV 2.2.0

@dingo-d
Copy link

dingo-d commented May 25, 2018

I always recommend using Browsersync for cross-browser testing (config.vm.network :public_network uncommented ofc).

After a simple setup (example here), just run npm start and work on any browser, mobile phone etc.

@afercia
Copy link
Author

afercia commented May 25, 2018

@dingo-d thanks. As said, personally I need to test with all browsers using various assistive technologies (e.g. screen readers), and Browsersync doesn't help.

@dingo-d
Copy link

dingo-d commented May 25, 2018

Oh, yeah, in that case, this is a big issue.

@ghost
Copy link

ghost commented Jul 17, 2018

i did more test on this... because I usually install windows 10 on virtualbox and target 192.168.50.4/192.168.50.1 as a second adapter... It seems like if I were to install the SSL or non SSL and using Microsoft Edge, I can actually use it.

see below

image

so it got me curious. what's the difference.

@ghost
Copy link

ghost commented Jul 17, 2018

so the image above is under VirtualBox running Windows 10 Pro and i didn't need to edit registry or anything like that, it just works under virtualbox windows 10, but the actual host. i just get, can't reach the page.

@ghost
Copy link

ghost commented Jul 17, 2018

untitled

give u better idea, now it says im using windows 10 Pro (Running) - Oracle VM VirtualBox

@ghost
Copy link

ghost commented Aug 13, 2018

@tomjn
Any idea why would this happened, if i use virtualbox with windows 10, Microsoft Edge works, but if i use Edge at the parent/host operating system, it doesn't work.

@tomjn
Copy link
Member

tomjn commented Aug 13, 2018

None, I don't know much about MS Edge

@Mte90
Copy link
Member

Mte90 commented May 8, 2019

It is still happening? we have to consider that the new versions of edge now use chromium engine.

@afercia
Copy link
Author

afercia commented May 8, 2019

We'll see 🙂It's not related to the rendering engine. It's a Microsoft network "feature".

@ghost
Copy link

ghost commented May 28, 2019

so i tested the new Edge, its the same thing.

@jimboobrien
Copy link

jimboobrien commented Jul 11, 2019

What progress has been made on this? Is the provided workaround with editing the registry the only fix for now? Thanks for your help so far.

@ghost
Copy link

ghost commented Jul 11, 2019

i think the way to fix this is to edit the registry, can we document this in the documentations.

@tomjn
Copy link
Member

tomjn commented Apr 14, 2020

Is this still an issue? Edge for MacOS appears to run fine:

Screenshot 2020-04-14 at 10 21 56

@afercia
Copy link
Author

afercia commented Apr 14, 2020

Is this still an issue?

As mentioned previously, this isn't related to the browser's engine. It's a Microsoft network "feature" that "works" only with Edge. Not sure how the new Edge will behave.

@ghost
Copy link

ghost commented Apr 14, 2020

can we have people test the new Edge on Windows? I have tested on 3 different computers with Windows 10 Home/Pro and it works fine. Since the new Edge is majority Chromium based

@afercia
Copy link
Author

afercia commented Apr 15, 2020

Worth reminding WordPress supports the last 2 versions of major browsers, including the last 2 Edge versions.

https://github.com/WordPress/wordpress-develop/blob/72f54ba785949876c79836723c129c8757dec0f1/package.json#L15-L26

https://github.com/WordPress/packages/blob/5e4f4f4cd977c113eb219b63cc82283efb5c8514/packages/browserslist-config/index.js#L11

GitHub
WordPress Develop, Git-ified. Synced from git://develop.git.wordpress.org/, including branches and tags! This repository is just a mirror of the WordPress subversion repository. Please include a li...
GitHub
Collection of JS modules and tools for WordPress development - WordPress/packages

@ghost
Copy link

ghost commented Apr 15, 2020

I don't think that matters right now! The whole point right now is to have people test the new Microsoft Edge that is based on Chromium. If we can get people to test without problem on Edge even if there are some small issues, it can still display sites and which the whole point of this ticket.

The new Microsoft Edge will be implemented into the Core of Windows 10 in the next version or two.

@tomjn: I think we should just close this ticket because no one will use Edge as much as we should be doing testing on, but that's just me.

@tomjn
Copy link
Member

tomjn commented Apr 15, 2020

Ah I was hoping that the new Edge might have bypassed this issue being Chromium based. The worst that happens is we end up with a less suboptimal situation, a little more info doesn't hurt

@jimboobrien
Copy link

I'll try testing this again at some point today hopefully.

@jimboobrien
Copy link

I just upgraded an old VVV environment from 2.2.0 to 3.3.0 and vagrant destroy then vagrant up and still do not see vvv.test loading in Edge on Windows 10. It does load in chrome and IE. I guess I could try a whole new VVV environment.

@jimboobrien
Copy link

It does not work with a fresh VVV 3.3.0 install on Edge on Windows 10, It does work in IE and chrome. Dang you windows. Dang you. This is why I use linux most of the time for development anyways. Please let me know if I can be more helpful in testing.

@ghost
Copy link

ghost commented Apr 16, 2020

@jimboobrien
did you upgrade to the new Microsoft Edge (https://www.microsoft.com/en-us/edge/), if you didn't is not going to work. You need to update to the new Edge
image

@tomjn: this is why I open a new ticket with the latest URL to download the new Edge. if we continue here. no one is gonna know to download the new Microsoft Edge.

Microsoft Edge
See what's new on the latest version of the Microsoft Edge browser. Explore features, rewards, and more before you download the new browser today.

@ghost
Copy link

ghost commented Apr 16, 2020

I am going to point out that when most of the people who are using Windows 10, you can download the new Microsoft Edge (https://www.microsoft.com/en-us/edge/), this update will replace the old Microsoft Edge that is the core of Windows 10. Please download and install the new Edge browser before making assumptions if it works or not.

I have recently tested on 3 different Windows 10 systems and the new Microsoft Edge works without any configurations whatsoever.

Microsoft Edge
See what's new on the latest version of the Microsoft Edge browser. Explore features, rewards, and more before you download the new browser today.

@jimboobrien
Copy link

Confirmed, once I upgraded Edge to newest version it does work in Edge now. I was on 44.1 I believe before I upgraded.

@Mte90
Copy link
Member

Mte90 commented Dec 16, 2020

Now that edge is based on webkit this ticket maybe can be closed as a lot of things are changed?

@tomjn
Copy link
Member

tomjn commented Dec 16, 2020

@msaggiorato what do you think? I know you're on Windows at the moment

@tomjn
Copy link
Member

tomjn commented Jan 19, 2023

closing

@tomjn tomjn closed this as completed Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants