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

firefox support? #117

Closed
CastixGitHub opened this issue Dec 16, 2019 · 5 comments · Fixed by #118
Closed

firefox support? #117

CastixGitHub opened this issue Dec 16, 2019 · 5 comments · Fixed by #118

Comments

@CastixGitHub
Copy link
Contributor

Hello,
From my terminal after http_proxy is set if I do a curl request I get it on the ergo run log and I get the right response.
I've set Automatic proxy configuration URL in firefox, when I open .dev domain what happens is weird: the scheme is changed to https and no log is provided, I get a 404 response.

@CedricFinance
Copy link

Hi,
I think it's linked to HSTS on .dev domains.
I checked on Chrome: chrome://net-internals/#hsts
image

@muisje
Copy link

muisje commented May 3, 2020

Does not work for me either. Am using firefox/
This is what happens when i visit jellyfin.dev

Hmm. We’re having trouble finding that site.

We can’t connect to the server at jellyfin.dev.

If that address is correct, here are three other things you can try:

Try again later.
Check your network connection.
If you are connected but behind a firewall, check that Firefox has permission to access the Web.

Erglo list output:

ergo list
Ergo Proxy current list:
 - http://jellyfin.dev -> http://pi:8096

when i visit the site with curl the ergo run outputs a new line, but with firefox it does not.

ergo run

Ergo Proxy listening on port 2000 for domains .dev
[2020-05-03 16:58:50] GET http://jellyfin.dev/ HTTP/1.1

When i visit it in firefox with ergo not running:

The proxy server is refusing connections

Firefox is configured to use a proxy server that is refusing connections.

Check the proxy settings to make sure that they are correct.
Contact your network administrator to make sure the proxy server is working.

@cristianoliveira
Copy link
Owner

cristianoliveira commented Jul 4, 2020

Hey guys.

Sorry for the absence, personal issues.

Did you manage to make it run?
This issue with .dev isn't it related to this one #58 ?

(PS. if there is no answer to this in a week I'll assume you figure it out and I will close this issue 😊)

@CastixGitHub
Copy link
Contributor Author

Actually I did't use ergo because of this issue, just looked into this again.
firefox works by checking Proxy DNS hen using SOCKS v5 option (and proxy pac as usual)
as stated in other issues, does not work (redirects to https) for .dev domains so I used ergo run -domain .test

fun fact: I'm not able to make it work with chromium (chromium --proxy-pac-url=http://localhost:2000/proxy.pac) dns query fails (cache cleared, now working too)

@cristianoliveira
Copy link
Owner

Which version of firefox are you using? So I can try to debug myself later.

cristianoliveira pushed a commit that referenced this issue Jul 21, 2020
* readme: explainations for issue #117

* correct readme about firefox support (remove non needed option) and suggest incognito mode for browsers

Co-authored-by: Castix <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants