# Connection error in auth0 login

**URL:** <https://community.auth0.com/t/connection-error-in-auth0-login/91637>\
**Category:** Get Help\
**Created:** [October 1, 2022, 7:08am UTC](https://community.auth0.com/t/connection-error-in-auth0-login/91637 "2022-10-01T07:08:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gautam.mukherjee9](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gautam.mukherjee9/32/33850_2.png) [@gautam.mukherjee9](https://community.auth0.com/u/gautam.mukherjee9)\
**Post date:** [October 1, 2022, 7:08am UTC](https://community.auth0.com/t/connection-error-in-auth0-login/91637/1 "2022-10-01T07:08:13Z")

</div>

# 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](http://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’))

---

<div class="post-metadata">

**Author:** ![neskemiquel](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/neskemiquel/32/37779_2.png) [@neskemiquel](https://community.auth0.com/u/neskemiquel)\
**Post date:** [October 3, 2022, 11:09am UTC](https://community.auth0.com/t/connection-error-in-auth0-login/91637/2 "2022-10-03T11:09:25Z")

</div>

I’m currently experiencing the exact same thing[.](https://www.clover-dashboard.com/)

---

<div class="post-metadata">

**Author:** ![gautam.mukherjee9](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gautam.mukherjee9/32/33850_2.png) [@gautam.mukherjee9](https://community.auth0.com/u/gautam.mukherjee9)\
**Post date:** [October 3, 2022, 1:44pm UTC](https://community.auth0.com/t/connection-error-in-auth0-login/91637/3 "2022-10-03T13:44:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![django.techno](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@django.techno](https://community.auth0.com/u/django.techno)\
**Post date:** [April 26, 2024, 7:11am UTC](https://community.auth0.com/t/connection-error-in-auth0-login/91637/4 "2024-04-26T07:11:23Z")

</div>

this probably is an old topic but I am getting the same error. any suggestions?

---

<div class="post-metadata">

**Author:** ![ale.vesga1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ale.vesga1/32/60921_2.png) [@ale.vesga1](https://community.auth0.com/u/ale.vesga1)\
**Post date:** [November 21, 2024, 10:35pm UTC](https://community.auth0.com/t/connection-error-in-auth0-login/91637/6 "2024-11-21T22:35:20Z")

</div>

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)

Refer to these docs:

- [Connection Pools - urllib3 2.2.3 documentation](https://urllib3.readthedocs.io/en/stable/reference/urllib3.connectionpool.html)
- [Intermittent Management API Timeouts for Apps Hosted in AWS](https://community.auth0.com/t/intermittent-management-api-timeouts-for-apps-hosted-in-aws/99193)

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.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 5, 2024, 10:35pm UTC](https://community.auth0.com/t/connection-error-in-auth0-login/91637/7 "2024-12-05T22:35:39Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
