title: An internal response header size limit was exceeded
body: <p><a href="https://i.stack.imgur.com/Dai8E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Dai8E.png" alt="enter image description here"></a></p>
  
  <p>This error occurrs when I perform a redirect to another part of the site in question.</p>
  
  <pre><code>return this.RedirectToActionPermanent("Index", "Dashboard"
  </code></pre>
  
  <p>The code does not step into the Index method in the Dashboard controller before the error occurs.</p>
  
  <p><a href="https://i.stack.imgur.com/e2SBm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e2SBm.png" alt="enter image description here"></a></p>
  
  <p>I think the Fiddler response header posted is not the >internal&lt; Response header in the error message.</p>
  
  <p>Could anyone explain how best to increase the size limit of the internal response header?</p>
  
  <p>Or, Are we looking at needing to compress the internal response header as a solution?</p>
  
  <p>For your information the call to redirect above was working day in day out for about 3 months until it broke about 5 days ago.</p>
  
  <p>[Edit 1]
  The program.cs file is now looking like:</p>
  
  <pre><code>        public static IWebHostBuilder CreateWebHostBuilder(string[] args) =&gt;
          WebHost.CreateDefaultBuilder(args).UseStartup&lt;Startup&gt;().ConfigureKestrel((context, options) =&gt; {
              options.Limits.KeepAliveTimeout = TimeSpan.FromMinutes(5);
              options.Limits.MaxResponseBufferSize = 1024000;
              options.Limits.Http2.HeaderTableSize = 16384;
          });
  </code></pre>
  
  <p>However, the same error is still occurring.</p>
  
  <p>[Edit 2 18.03.19 2:28am]
  The problem was caused by a User Claim not being filled in (Identity Table) on one of the profile users. I filled the data in manually in SSMS and the error stopped occurring.</p>
  
  <p>TIA.</p>
  
  <p>David</p>