IdentityServer4.Admin icon indicating copy to clipboard operation
IdentityServer4.Admin copied to clipboard

Bad Request - Request Too Long

Open j-tee opened this issue 4 years ago • 2 comments

Describe the bug

After deployment I keep getting this error when attempting to log in. "HTTP Error 400. The size of the request headers is too long."

To Reproduce

Steps to reproduce the behavior:

Relevant parts of the log file

<log goes here>

j-tee avatar Jul 11 '21 07:07 j-tee

In our case we had this issue with some user with many groups associated to it (but we are using Windows authentication actually, preview branch).

So we applied the 2nd workaround explained here: https://docs.microsoft.com/en-us/troubleshoot/iis/http-bad-request-response-kerberos

samuel-regola avatar Oct 03 '21 13:10 samuel-regola

Same error. I tried to increase options.Limits.MaxRequestHeadersTotalSize in Program.cs but it's not worked. Any idea?

Javad-Azimi avatar Jul 17 '22 12:07 Javad-Azimi