502 Proxy Error Web Filter
Contents |
One games Xbox 360 games PC 502 proxy error web service games Windows games Windows phone games Entertainment All
502 Proxy Error Apache
Entertainment Movies & TV Music Business & Education Business Students &
502 Proxy Error Dns Lookup Failure
educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security
502 Proxy Error Apache Error Reading From Remote Server
Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Band Microsoft 502 proxy error reason error reading from remote server Lumia All Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
502 Proxy Error Whenever an ISA or TMG server throws a 502 Proxy Error your way, you know you are probably in for a real hurdle. But with a little familiarity with what a 502 error means, and how it can be fixed, you 502 proxy error openshift will be back in business in little time. First, let’s take a look at the definition of 502 502 proxy error chrome HTTP response code: 502 Bad Gateway The server was acting as a gateway or proxy and received an invalid response from the upstream server. Pay close attention 502 proxy error apache reverse proxy to what that is saying. The proxy (meaning your ISA or TMG server) received an invalid response from the upstream server (implying that the internal webserver that you are publishing!). Unfortunately that is not always the case as ISA and TMG can throw that https://support.microsoft.com/en-us/kb/935693 error when they are unhappy about something that a normal browser would readily accept. They can also throw one of several different kinds of 502 depending on the circumstances. Understanding is critical to a quick resolution. Don’t just stop reading at 502, check the rest of the response. Here is how to determine whether the problem is with your ISA/TMG, or on the internal server: 1. Open a browser on the internal network. 2. Access the URL in question. 3. If you can view the content successfully, the problem is http://www.chicagotech.net/msapps/isa1.htm with your ISA/TMG. If not, the problem is with your webserver. Since this post is about ISA and TMG, let’s assume you are able to view the content internally just fine, so we’ll keep discussing ISA/TMG. 4. Go to your log viewer. In ISA that is Monitoring, or in TMG that is in Logs & Reports. 5. Edit the filter to look at live logs and have the user try again, or filter on the time range to see the error. Add the “Filter by” criteria for HTTP Status Code, and set it equal to 502. 6. Run the query, and examine the results. Some of the frequent causes of ISA/TMG generating 502s are: • A 502 can be thrown by the ISA/TMG when content filtering is enabled and something in the response is being blocked. Disable content filtering and see if you are then able to access the resource. If you are, look at the header in one of the logged errors (in your log, click the more information link on the error) and see what content type is being returned by the published server. Authorize that in your content filter. • If you are using ISA/TMG as a client proxy, and the destination server is running on a non-standard port, you can encounter this error. Create an access rule allowing the non-standard ports. • “502 Proxy Error. No data record is available. (11004)” is generated when the ISA/TMG cannot resolve the internal resource’s name to an IP address. Check your internal DNS, or your ISA/TMG’s DNS client configuration. I have often
Management Gateway I had the hardest time trying to get one particular site to work from behind a TMG 2010 proxy. The users would get. http://fixmyitsystem.com/2011/03/tmg-error-code-502-proxy-error-data-is.html Error Code: 502 Proxy Error. The data is invalid. (13) IP Address: 84.233.1 Date: 17/03/2011 02:34:51 PM [GMT] Server: Source: web filter Thiscorrelatedwith the following log event on the TMG server. Failed Connection Attempt Log type: Web Proxy (Forward) Status: 13 The data is invalid. Rule: Source: Internal (10.36.136.250:35447) Destination: External (84.233147:80) Request: GET http://lc.com/PORTAL/TOPLEVEL.php Filter information: Req ID: 0fdbab91; Compression: client=No, server=Yes, compress rate=0% 502 proxy decompress rate=0% Protocol: http User: anonymous The big problem I had is that this site "worked just fine" from a direct Internet connection. I used HTTP watch to trace the connection to the site. While goign through the STREAM view I noticed the following: The page was hosted on a Red Hat Apache server. (Just because it is at the top of the header) 502 proxy error Content Encoding was GZIP The GZIP thing got me because only the one single page was being compressed. When scrolling further down the stream data I saw something strange - after the gzip data segment (green) there was "clear text" again. (Amber) I had not seen this before. This did not look right, maybe that is what TMG was on about. I check that the server would send me an uncompressed version of the page with some TamperData request header manipulation, and thankfully it did. Then I moved onto the TMG to exclude the site form requesting compressed data. Create a computer or computer set object. Open the HTTP compression setting Add the computer object to the exceptions That finally fixed the problem loading that page. GZIP implemented correctly is a fantastic thing - Do it badly and it cause cause issues, That is why I prefer to do all my compression on a reverse proxy TMG. Just goes to show you TMG was correct in dropping non standard or compliant data. Browsers were far more forgiving, this is good for compatibility but bad for standard enforcement. So if you are getti