'Getting "Failed to establish a new connection: [Errno -3] Temporary failure in name resolution" in Uvicorn server in Docker environment
I am getting the below exception while making a call from my project- My code is deployed on Docker and inside it running python uvicorn server. I have double check the URL, there is no error in that. Below is the exception mentioned.
Exception raised HTTPSConnectionPool(host='XXXXXX', port=443): Max retries exceeded with url: /oauth2/auth?response_type=code&state=test_state&client_id=110438&redirect_uri=https://XXXXX.com/plugin/callback (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f0bd835a6d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
Could someone please help me? Thanks
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|