IIS Reverse Proxy Error 500

I am trying to setup Sentry behind an IIS that is working as Reverse Proxy

The reverse proxy is setup for incoming and outgoing rules. When I navigate to the url then the following request happsn:

  • call to reverse proxy url 302
  • call to /auth/login/ 302
  • call to /auth/login/sentry/ 500 URL Rewrite Module Error.

What I see is that on this request the Accept-Encoding is gzip, deflat.

I have checked the nginx.conf file and there the line gzip off is set.

What am I doing wrong.

Kind regards,
Michael

Without more logs, it is hard to speculate on why. I’m not sure this is related to gzip at all.

Which logs do you need? IIS or nginx?

Both?

ISS tells me 500.52 Outbound rewrite rules cannot be applied when the content of the HTTP response is encoded (“gzip”)
Going into deep when setting the following works: Goto Compression Page and disable “Enable dynamic content compression”
Can this information be added to the readme for other folks?

This seems very specific to ISS and not Sentry, otherwise you are more than welcome to improve our docs over at https://develop.sentry.dev/self-hosted/