abp icon indicating copy to clipboard operation
abp copied to clipboard

InvalidOperationException: IDX20803: Unable to obtain configuration from: 'xxxx/.well-known/openid-configuration'. Microsoft.IdentityModel.Protocols.ConfigurationManager<T>.GetConfigurationAsync(CancellationToken cancel)

Open abdullahshaqaliah opened this issue 3 years ago • 9 comments

Hi we get this error after setup the application on docker with linux server when communicate the web client with identity server after successfuly login

InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://10.129.10.138:44357/.well-known/openid-configuration'.
Microsoft.IdentityModel.Protocols.ConfigurationManager<T>.GetConfigurationAsync(CancellationToken cancel)
Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsyncInternal(AuthenticationProperties properties)
Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsync(AuthenticationProperties properties)
Microsoft.AspNetCore.Authentication.AuthenticationHandler<TOptions>.ChallengeAsync(AuthenticationProperties properties)


Microsoft.AspNetCore.Authentication.AuthenticationService.ChallengeAsync(HttpContext context, string scheme, AuthenticationProperties properties)
Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
Volo.Abp.AspNetCore.Serilog.AbpSerilogMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext()
Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
Volo.Abp.AspNetCore.Tracing.AbpCorrelationIdMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext()
Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext()
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

Can any one help us for this issue

abdullahshaqaliah avatar Nov 11 '22 06:11 abdullahshaqaliah

Is 10.129.10.138:44357 available on your docker container?

This seems like a docker issue instead of abp.

maliming avatar Nov 11 '22 07:11 maliming

Yes it is available

abdullahshaqaliah avatar Nov 11 '22 07:11 abdullahshaqaliah

@maliming Do you think the problem is the certificate? If so, how can it be solved??

abdullahshaqaliah avatar Nov 11 '22 07:11 abdullahshaqaliah

You can check the log` for 'https://10.129.10.138:44357', I think it doesn't receive any requests. That is unable to request this site

maliming avatar Nov 11 '22 07:11 maliming

Yes, you are correct, there is no request any idea??

abdullahshaqaliah avatar Nov 11 '22 07:11 abdullahshaqaliah

setup the application on docker

Please share your configuration?

maliming avatar Nov 11 '22 07:11 maliming

The identity server application already setup on diffrent docker so how can commiuncation diffrent docker togother?

abdullahshaqaliah avatar Nov 11 '22 07:11 abdullahshaqaliah

This belongs Devops scope I dont have much experience.

maliming avatar Nov 11 '22 07:11 maliming

It is unable to load OpenID initial configuration. The problem is with the authority resolver.

iddelacruz avatar Dec 10 '22 08:12 iddelacruz

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 18 '23 02:02 stale[bot]

try https://stackoverflow.com/a/48551390/15519563

Loiaa avatar Mar 23 '23 03:03 Loiaa

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 10 '23 05:06 stale[bot]