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

PROXY_NETWORK_ADDRESS should not be equal os.hostname #5

Open
Efefefef opened this issue Nov 15, 2017 · 0 comments
Open

PROXY_NETWORK_ADDRESS should not be equal os.hostname #5

Efefefef opened this issue Nov 15, 2017 · 0 comments

Comments

@Efefefef
Copy link

Efefefef commented Nov 15, 2017

I use proxy server locally to inject the script into the app running in the browser
When the app name appears in the panel
I click it and it tries to connect to ws and get
websocket connection failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED

Socket result url is
ws://macbook-pro.local:9222/devtools/page/0abece5a-33ef-4c1b-bdef-ef1e79848a9e

I suppose it should be ws://localhost:9222/blabla
The weird address comes from PROXY_NETWORK_ADDRESS variable in proxy.js
If the process.env.PROXY_NETWORK_ADDRESS is not specified it should not be equal os.hostname() but localhost
The result for os.hostname() in my case is MacBook-Pro.local

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

No branches or pull requests

1 participant