Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Browser Link not working in Firefox

I'm using Visual Studio 2015 and Browser Link doesn't work with Firefox. IE and Chrome work perfectly with Browser Link.

Just got a new machine, but that didn't help either.

I tried the prerequisites mentioned in the browserlink dashboard (for static files, enable debugging) and I use IIS express, so .NET 4.0 is there.

Are there any more settings needed in Firefox?

In the network view, I just don't receive a response from the server, 0 bytes transferred.

Network trace: enter image description here

like image 820
Erik Oppedijk Avatar asked Sep 08 '16 07:09

Erik Oppedijk


People also ask

How do I disable BrowserLink?

Disabling Browser LinkIn the Browser Link dropdown menu, uncheck Enable Browser Link. In the Web. config file, add a key named "vs:EnableBrowserLink" with the value "false" in the appSettings section. In the Web.

What do you mean by browser Link?

Browser Link is a Visual Studio feature. It creates a communication channel between the development environment and one or more web browsers. Use Browser Link to: Refresh your web app in several browsers at once. Test across multiple browsers with specific settings such as screen sizes.


1 Answers

Found it, the main website was running on 44300, browserlink seems to run on 44399 (although that port isn't visible in IIS express)

enter image description here

Browse to https://localhost:44399 gave me the Firefox "This Connection is Untrusted" screen, where I needed to trust("confirm security exception") the self signed IIS certificate (just like what I had done on the https://localhost:44300 site)

So it seems Firefox remembers trusted certificates per port number, not per DNS/IP/Name like IE and Chrome seem to do.

Now the browserlink is working and downloading the files.

like image 52
Erik Oppedijk Avatar answered Sep 25 '22 18:09

Erik Oppedijk