Erik Oppedijk
Erik Oppedijk

Reputation: 3551

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

Upvotes: 6

Views: 2226

Answers (2)

Rusty
Rusty

Reputation: 1

I don't have IIS running locally, but ran into a similar problem running the app locally with Visual Studio 2019.

The suggestion by Erik fixed the problem for me as well. Browsing to https://localhost:44399/ and accepting the certificate worked in Firefox Developer.

Some more details from Microsoft regarding self-signed certificates: https://learn.microsoft.com/en-us/iis/extensions/using-iis-express/handling-url-binding-failures-in-iis-express

Upvotes: 0

Erik Oppedijk
Erik Oppedijk

Reputation: 3551

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.

Upvotes: 10

Related Questions