ApplicationInsights-dotnet icon indicating copy to clipboard operation
ApplicationInsights-dotnet copied to clipboard

500.53 URL rewrite module error with message Outbound rewrite rules cannot be applied when the content of the HTTP response is encoded ('br')

Open diepnt90 opened this issue 1 year ago • 0 comments

If you're using auto-instrumentation, get support from Azure Support Center.

It only happens with Accept-Encoding: br

If we send requests with Accept-Encoding: gzip, there is no issue.

The site is a .Net framework application on Azure web app (Windows).

Already has

<urlCompression doStaticCompression="false" doDynamicCompression="false" />

in the web.config

User-Agent: curl/8.4.0 Accept: / Accept-Encoding: gzip

  • schannel: remote party requests renegotiation
  • schannel: renegotiating SSL/TLS connection
  • schannel: SSL/TLS connection renegotiated
  • schannel: failed to decrypt data, need more data < HTTP/1.1 200 OK < Content-Length: 117989

User-Agent: curl/8.4.0 Accept: / Accept-Encoding: br

  • schannel: remote party requests renegotiation
  • schannel: renegotiating SSL/TLS connection
  • schannel: SSL/TLS connection renegotiated < HTTP/1.1 500 URL Rewrite Module Error.

diepnt90 avatar Mar 21 '24 04:03 diepnt90