`getaddrinfo failed` behind the proxy on Win10
See original GitHub issueHey,
I can’t download gist with settings. Tried with http/s_proxy
settings with no result.
Can you please share more info about proxy configuration?
- is it python proxy conf
- can I use http://user:pass@myproxy.com:8080 for
http/s_proxy
ERROR:Sync Settings.sync_settings.libs.logger:Can`t perform this action due to network errors. reason: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /gists/xxxxxxxxxxxxxxxxxx (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0000029042E21198>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))
Traceback (most recent call last):
File "C:\Users\me\AppData\Roaming\SUBLIM~1\Packages\requests\all\requests\packages\urllib3\connection.py", line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "C:\Users\me\AppData\Roaming\SUBLIM~1\Packages\requests\all\requests\packages\urllib3\util\connection.py", line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
socket.gaierror: [Errno 11001] getaddrinfo failed
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Why doesn't GetAddrInfo work from behind a proxy?
This works fine if the computer is not behind a proxy, but if it is run in a corporate proxy environment, the call...
Read more >yo version check fails while behind proxy · Issue #589 - GitHub
Current behavior. At work I'm sitting behind a company proxy and for some reason the version check fails while the install succeeds.
Read more >socket.gaierror: [Errno 11001] getaddrinfo failed - Stack Overflow
This produced "socket.gaierror: [Errno 11001] getaddrinfo failed" error for me (working from behind an authenticated proxy server).
Read more >How to install NPM behind authentication proxy on Windows?
Heads up, if your password contains "@" npm won't parse your proxy setting correctly. A potential workaround is to put a bogus username:password...
Read more >Hardhat not installing in VSCode on Windows 10
Try to run your terminal/power shell as administrator privileges. it will solve the error , also make sure better internet connection.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
happy to hear that, keep creating cool stuff.
Windoze… Got it!
env | grep proxy
returned no results buthttp_proxy
andhttps_proxy
was defined in windows env vars (lolz).Removed both env vars, added again
http_proxy
,https_proxy
and voila! Works! 🎉