503 Service Unavailable Error Through a Proxy
The service cannot handle the request right now. For a proxy this usually means “no address for these parameters”; for a site, overload or protection.
Updated · Prokso editorial team
- Code 503 NO_RAY from the proxy means no free address matches your geo parameters
- Most often the geo parameters are too narrow: country, city and ISP combined
- Widen the selection: remove the ISP, then the city, then try a neighboring country
What the error means
The 503 code means “service unavailable”. It is temporary by nature: the server is running but cannot handle the request right now.
Our gateway's response is 503 NO_RAY: there is no free address for your geo parameters at the moment. If there is no name after the code, the 503 came from the site: it is overloaded, under maintenance or has limited your requests.
Causes
- The geo parameters are too narrow. Country, city and ISP together can leave very few addresses, especially in a small country.
- The chosen country has few addresses of this type. There are usually fewer mobile addresses than residential ones.
- The site is overloaded or under maintenance. Then it returns 503 to all visitors.
- The site limited your requests. Some sites answer 503 instead of 429 to requests that are too frequent.
How to fix it
- On
NO_RAY, widen the selection: remove the ISP, then the city, then try a neighboring country. - See how many addresses are online in the country you need on the locations page.
- Retry the request in a few seconds: addresses come and go all the time.
- If the 503 came from the site, open it without the proxy. If it is down that way too, all you can do is wait.
- Lower the request rate and the number of threads to this site.
How to check that it works
Generate a line without a city and ISP and test it in the proxy checker. If everything works with wide parameters, the cause was a geo that was too narrow.
Two-minute diagnosis
First paste the line into the proxy checker. If the proxy works there, the cause is in your app or its settings. If not, test the line from a terminal:
curl -v -x "http://USERNAME:PASSWORD@gw.prokso.com:823" https://api.ipify.org
- A
< HTTP/1.1 407line right afterCONNECTmeans the proxy answered. The name after the code, for exampleNO_USER, points to the cause. - The proxy answered
CONNECTwith 200 and then another code arrived - the proxy works, and that answer came from the website. - No answer at all, only a timeout - the connection never reached the proxy: check the host, port and network.
FAQ
What is NO_RAY?
It is the reason name in the gateway response: there is no free address for the given country, city or ISP right now.
Is traffic charged on 503?
The gateway's NO_RAY response uses practically no traffic: the request did not reach the site.
Why is 503 frequent in one country and not in another?
The number of addresses online differs between countries by hundreds of times. The fewer the addresses and the more precise the geo, the higher the chance that no free one is found.
Other proxy errors
Residential $1.59, mobile $2.50, datacenter $0.65 per GB
Sign up in a minute, get access right after payment.