Quick Answers

What Does 502 Bad Gateway Mean on a Proxy?

A 502 Bad Gateway means the proxy reached out to the website, or to its next hop, and got an invalid or no response. Usually a temporary upstream problem.

By Team of Monkeys Editorial Updated 1 min read Affiliate disclosure

This guide contains affiliate links to Geonode, Webshare and Rayobyte. If you buy through them we may earn a commission, at no extra cost to you.

What Does 502 Bad Gateway Mean on a Proxy illustration: a 502 Bad Gateway means the proxy reached out to the website, or to its next hop, and got an invalid or no response 3jdej38j4

The short answer

502 Bad Gateway comes from a proxy or gateway, not from you. It means the proxy forwarded your request and got back something it could not use: a dropped connection, garbage, or nothing at all.

What to try

  1. Retry. With rotating residential proxies, the home device behind the IP may simply have gone offline.
  2. Test the site directly without the proxy, to rule out the website being down.
  3. Switch IP or country.
  4. Check the provider's status page if every request fails.
Testing a new proxy list, please wait (animated GIF) 3jdej38j4
Testing a new proxy list, please wait. GIF via Tenor

Also known as

HTTP 502, bad gateway error, upstream error.

Learn more

Affiliate disclosure: Team of Monkeys is an affiliate of Geonode, Webshare and Rayobyte. Links and banners marked as sponsored, and links to Geonode, Webshare and Rayobyte in the text, use our referral links, and we may earn a commission if you buy through them, at no extra cost to you. Our explanations and comparisons are written to be useful whichever provider you choose.

Editorial note: Proxy providers change their pools, features and prices often, so treat any figures here as typical ranges at the time of writing and confirm current terms with the provider before you buy.