IdentityServer / IdentityServer4

OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
https://identityserver.io
Apache License 2.0
9.23k stars 4.02k forks source link

ServerTooBusyException while accessing services through identity server 4 #5440

Closed ShreyaSingh098 closed 2 years ago

ShreyaSingh098 commented 2 years ago

We are using identity server 4 in our application. There are 2 servies which are used by identity server for user authentication.Identity server 4 hosts these App services through WCF. sometimes, during login, these services are not resolves and an exception is thrown at identity server with below details:

exception type: System.ServiceModel.ServerTooBusyException

Message: One or more errors occurred. (The HTTP service located at is unavailable. This could be because the service is too busy or because no endpoint was found listening at the specified address. Please ensure that the address is correct and try accessing the service again later.) The HTTP service located at is unavailable. This could be because the service is too busy or because no endpoint was found listening at the specified address. Please ensure that the address is correct and try accessing the service again later.

This error occurs intermittently on identity service, CAUSING SOME USERS TO LOGOUT OF APPLICATION. Most of the time it works fine but sometimes, this error is thrown. We could not identify any particular pattern or cause for this. We also suspected that this might be an issue with App service, so we raised a ticket for that as well, but it seems that app service works fine in this case. We are not able to identify what might be issue with identity server in this case.

leastprivilege commented 2 years ago

Important update

This organization is not maintained anymore besides critical security bugfixes (if feasible). This organization will be archived when .NET Core 3.1 end of support is reached (3rd Dec 2022). All new development is happening in the new Duende Software organization.

The new Duende IdentityServer comes with a commercial license but is free for dev/testing/personal projects and companies or individuals making less than 1M USD gross annnual revenue. Please get in touch with us if you have any question.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Questions are community supported only and the authors/maintainers may or may not have time to reply. If you or your company would like commercial support, please see here for more information.

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.