Ready to post? First, try searching for your answer.
Hello,
We use Auth0 as the authentication service for our application. A custom domain has been set up for the APIs. On making an API call, the following request is failing: https://<AUTH0_DOMAIN>.eu.auth0.com/.well-known/jwks.json
with the error: urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
Please note that, this application has been live since a while and this setup as it is was working until this afternoon. It has randomly started throwing this error and our application is down. I have done all basic checks for network connectivity, and it all seems fine.
Could someone please help in identifying what the issue is?? Is there a temporary problem with Auth0?
I have inspected your custom domain settings on your tenant and found that you currently do not have any custom domains configured.
Additionally, you should be able to get the JSON web key set regardless of using your custom domain or canonical domain.
I went ahead and tested this myself and was able to get the JSON web key set for your tenant using the canonical domain following this format: https://<AUTH0_DOMAIN>.eu.auth0.com/.well-known/jwks.json.
Thank you for your response. Maybe I am logged in through my personal account. I have sent the tenant details to you through a message.
I would really appreciate if you could check again.
Thank you so much! Could you tell me if this JSON is always constant or it changes with every request to the endpoint?
Our application is running inside a docker container on an AWS EC2 machine. The docker container has internet access, I have validated it, but only throws the error for this Auth0 domain while making the request for JWKS. Do you have any idea what the issue could be?
The JSON web key set remains constant regardless of how many times you request that endpoint.
As for the error you shared, it does not seem to be an error related to Auth0. It looks like the error involves your configuration on AWS. I suggest checking your DNS settings again.