IDX20803: Unable to obtain configuration from

Hi,

I recently deployed a .Net Core API to a development server and everything was working fine until today, I keep getting this error:

System.InvalidOperationException: IDX20803: Unable to obtain configuration from: ‘https://dev-371936.okta.com/oauth2/default/.well-known/openid-configuration’.

—> System.IO.IOException: IDX20804: Unable to retrieve document from: ‘https://dev-371936.okta.com/oauth2/default/.well-known/openid-configuration’.

System.Net.Http.HttpRequestException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

On my local machine I don’t have this issue.

Can you help?

Thanks in advance.

what happens when you try to curl this url from your server? have you changed your hosting domain name recently?

Hi Phi1ipp,

Thanks for the reply.

The curl of this url works perfectly on the server, and I can get the configuration json.

There were no changes in hosting domain. Both DEV server and Localhost URLs are configured on the Okta Console.