-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
[Errno -3] Temporary failure in name resolution #3677
Comments
This error means that a DNS problem occurred and we couldn't resolve the IP address. If you see this problem you should simply retry the request. |
Already I have tried that, but it's not working for me. Shall I try with IP address Or is there any other solution for this? |
Can you print the URL you're trying to reach? |
I tried the same API URL in postman, its working fine. But in my request method, it throws the above error. |
So this strongly suggests you have a problem with your OS or Python configuration, or possibly your URL, because it seems like the Python code cannot resolve the domain name. |
I am getting the right URL from requests. Following warning error message is displayed while running the script. Is there any issues? /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. |
Those error messages aren't going to be relevant, no. Can you set |
it's working now. problem from dns system. thank you |
how did u resolve dns problem??? |
I face the same problem, and solved by restart computer |
I fixed this by disabling my VPN |
You have issues with your DNS. Check on your system that public interface is configured to use correct DNS servers. |
For me, it was the firewall that was blocking the connection. I'm using ufw .. the following command fixed it for me. |
While trying to get access token from api I getting the follwoing error,
ConnectionError: HTTPSConnectionPool(host='', port=443): Max retries exceeded with url: /oauth2/access_token/ (Caused by <class 'socket.gaierror'>: [Errno -3] Temporary failure in name resolution)
Is there any way I can resolve this error?
Thanks.
The text was updated successfully, but these errors were encountered: