Proxy errors and status codes

What the gateway answers when something is wrong, and how to tell a gateway problem from a target site answer.

Answers from the gateway

StatusMeaningFix
407 Proxy Authentication RequiredWrong login or password, a paused or capped user, a network the user may not use, or an option the gateway cannot readCheck the username options and the user's state on Proxy users
407 with the reason "balance"The account balance is $0.00Top up; traffic resumes by itself
502 Bad GatewayThe exit could not reach the target (refused, reset or DNS failure)Retry; on repeats try another location or network
504 Gateway TimeoutThe target did not answer in timeRetry with backoff; lower concurrency on that host
429 from the gatewayMore than 1,000 connections at onceQueue requests or spread them over time

Answers from the target

A 403, 429 or a challenge page comes from the website, not from the gateway. Slow down, cache pages you already have, send a realistic Accept-Language for the exit country, and move strict targets from datacenter to ISP or residential. The retry strategies guide covers backoff in detail.

Checking the path

curl -v -x gw.rotatingproxy.cc:7070 -U "USERNAME_cc.us:PASSWORD" https://api.ipify.org

In verbose output the line after CONNECT shows the gateway's answer. A 200 Connection established followed by an error page means the target answered.

A short checklist

  • Copy the password again from Proxy users; a new password replaces the old one at once.
  • Check the proxy user's state: paused, capped or waiting for balance all answer 407.
  • Make sure the network in net. is ticked for that proxy user.
  • Look up the country and city tokens on the locations page or build the string with the proxy URL builder.
  • Lower parallel connections if you see 429 from the gateway; queue the rest instead of retrying in a loop.

If a problem stays after these checks, note the time (UTC), the username without the password and the target host, and open a ticket from the dashboard.