question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`getaddrinfo failed` behind the proxy on Win10

See original GitHub issue

Hey, 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?

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:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mfuentesgcommented, May 7, 2019

happy to hear that, keep creating cool stuff.

0reactions
marekkaczkowskicommented, May 7, 2019

Windoze… Got it!

env | grep proxy returned no results but http_proxy and https_proxy was defined in windows env vars (lolz).

Removed both env vars, added again http_proxy, https_proxy and voila! Works! 🎉

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found