Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ASG V8: Proxy: Received invalid response from Server

I get: Received invalid response from Server

When trying to surf: Ministry of Transportation

But when turning the proxy OFF, everything works fine! Seem to have something todo with the page line ending: final CRLF invalid: 2231

Log:
2010:08:04-10:31:50 plasmashield httpproxy[17574]: id="0003" severity="info" sys="SecureWeb" sub="http" request="0x9311f50" function="read_response_body_file_chunked" file="response.c" line="1178" message="final CRLF invalid: 2231"

2010:08:04-10:31:50 plasmashield httpproxy[17574]: id="0002" severity="info" sys="SecureWeb" sub="http" name="web request blocked" action="block" method="GET" srcip="X.X.X.X" dstip="204.41.1.36" user="" statuscode="502" cached="0" profile="REF_DefaultHTTPProfile (Default Proxy)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="4796" time="164 ms" request="0x9311f50" url="www.mto.gov.on.ca/.../html"


This thread was automatically locked due to age.
Parents
  • statuscode="502"

    Maybe you can create an Exception for http://www.mto.gov.on.ca/ with everything but Anti-Virus, but I bet you need to not go through the proxy for that site.

    Let us know.

    Cheers - Bob
  • I might be wrong, I think your wrong [:)] haha..

    I looked up 502 which is:

    502 Bad Gateway
        The server was acting as a gateway or proxy and received an invalid response from the upstream server.

    I think that the 502 is returned by Astaro, and not the target website.

    If you put that together with the "final CRLF invalid: 2231" that is in the log,

    What I think it means is, the target website returned a line ending that astaro doesn't understand, report it as invalid. The thing is everything works fine when not going trough the proxy.

    So I think this is a bug with the astaro proxy which does not support that CRLF ending where it should.
  • You could be right, but that site also is similarly blocked in V7.50x, so it could just as well be a misconfiguration in their Apache web server.  In any case, I'll report it via my reseller account since I can generate the same issue on our Astaro.

    In the meantime, if you want to access their site, you'll have to skip the proxy for now.[;)]

    Cheers - Bob
  • Sorry to dredge up such an old thread, but I just encountered the same error on a current version 9.305-4 Sophos UTM. One of the kids is home and tried to see his personal messages on a game-related forum. There are no problems with that website except when checking for unread messages. In that case, the Sophos banner appears with the following message:

    "An error occurred while handling your request
     While trying to retrieve the URL: http://www.example.com/forums/conversations/REDACTED/unread
     The content could not be delivered due to the following condition: Invalid Response"

    The Web Filtering log file shows the same error that x-cimo found years ago. Here is the one that I saw:

    2015:01:07-10:49:49 REDACTEDutm httpproxy[6504]: id="0002" severity="info" sys="SecureWeb" sub="http" name="web request blocked" action="block" method="GET" srcip="x.x.x.x" dstip="y.y.y.y" user="" ad_domain="" statuscode="502" cached="0" profile="REF_DefaultHTTPProfile (Default Web Filter Profile)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="2661" request="0xfccb000" url="www.example.com/.../537.36" exceptions="" category="116" reputation="neutral" categoryname="Games"

    I created a Web Filtering Exception but it did not work. No matter how I configure the Web Filtering exception, the Sophos banner reappears every time, consistently.

    Am I forgetting to do something simple that would bypass this block? 

    Is this an old bug that was never fixed?

    P.S. I tried whitelisting the domain and subdomains for the website. It is still blocked. How do I bypass an "invalid response" error from a website?
Reply
  • Sorry to dredge up such an old thread, but I just encountered the same error on a current version 9.305-4 Sophos UTM. One of the kids is home and tried to see his personal messages on a game-related forum. There are no problems with that website except when checking for unread messages. In that case, the Sophos banner appears with the following message:

    "An error occurred while handling your request
     While trying to retrieve the URL: http://www.example.com/forums/conversations/REDACTED/unread
     The content could not be delivered due to the following condition: Invalid Response"

    The Web Filtering log file shows the same error that x-cimo found years ago. Here is the one that I saw:

    2015:01:07-10:49:49 REDACTEDutm httpproxy[6504]: id="0002" severity="info" sys="SecureWeb" sub="http" name="web request blocked" action="block" method="GET" srcip="x.x.x.x" dstip="y.y.y.y" user="" ad_domain="" statuscode="502" cached="0" profile="REF_DefaultHTTPProfile (Default Web Filter Profile)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="2661" request="0xfccb000" url="www.example.com/.../537.36" exceptions="" category="116" reputation="neutral" categoryname="Games"

    I created a Web Filtering Exception but it did not work. No matter how I configure the Web Filtering exception, the Sophos banner reappears every time, consistently.

    Am I forgetting to do something simple that would bypass this block? 

    Is this an old bug that was never fixed?

    P.S. I tried whitelisting the domain and subdomains for the website. It is still blocked. How do I bypass an "invalid response" error from a website?
Children
No Data