I followed the tutorial for webapp implementation and set up callbacks etc. While testing , getting below error on login. Need help on how to resolve…
requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘%7bzenavu.us.auth0.com%7d’, port=443): Max retries exceeded with url: /.well-known/openid-configuration (Caused by NewConnectionError(‘<urllib3.connection.HTTPSConnection object at 0x0000025C61ABD120>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed’))
Looks like the environment values was not getting picked up rightly for me. please check that the values are being loaded correctly. I tested with simply putting in a string in app.py and could establish a connection
Our team is answering some of our most frequently asked questions.
This could be a common error that occurs when the request times out more than 350 seconds without any activity (idle).
You should be able to shorten the timeout by including the timeout parameter urllib3.HTTPConnectionPool(host , port=None , *timeout=_TYPE_DEFAULT.token)
It seems you are seeing this error when navigating to the following URL:
(https://zenavu.us.auth0.com/.well-known/openid-configuration ), but this URL appears to be working on my end. Ensure your URL points to the correct endpoint (the URL should not contain curly braces).
It might be worth considering adding error handling with try-catch blocks to provide better insights before the connection attempt fails.