We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • Re: Edge, Chrome Version 90 - Cookie Reverse Proxy Not Working

    Apr 26, 2021 08:09 AM|Dawid_Szczecin|LINK

    Sorry for long response (I shall be more focus to respond quickly), but I spent last days for finding "workaround" solution to keep application up and running for clients. The response is:

    502 - Web server received an invalid response while acting as a gateway or proxy server.
    There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.

    If anybody still read this, please remember that this error accurs only when COOKIE is in the request header, when it's not in the request header then the request is passed properly to application server. Finally application server shows that no request reach it when cookie is in the request header, so IIS respond to the client but do not ask application server. Error Tracking log is in the first post.

     <EventData>
      <Data Name="ContextId">{80000631-0001-EE00-B63F-84710C7967BB}</Data>
      <Data Name="ModuleName">ApplicationRequestRouting</Data>
      <Data Name="Notification">128</Data>
      <Data Name="HttpStatus">502</Data>
      <Data Name="HttpReason">Bad Gateway</Data>
      <Data Name="HttpSubStatus">3</Data>
      <Data Name="ErrorCode">2147954552</Data>
      <Data Name="ConfigExceptionInfo"></Data>
     </EventData>