Skip to content

Updated

How to Switch Proxies Fast When One Stops Working

  1. When a proxy stops answering, first prove it is the proxy and not your own network (one test request, a 10 second timeout).
  2. Then test a spare line of a different type or from a different service, convert your existing list with the free Proxy302 migrator so the scripts stay as they are, and move over in small batches.
  3. Keep the old list until the new one has run cleanly.

Check it right after buyingExample output

curl -x http://USER:PASS@HOST:PORT https://ipinfo.io/json

ip
203.0.113.24
country
US
Matches the country you picked
Day 15
203.0.113.24
Same address for the whole term
Example addresses (203.0.113.0/24), not real exits
01 / 07Which line to move to

Five steps to move a job to another proxy without rewriting your scripts.

Which line to move to

Which line to move to
ItemMove toWhy
Your job needs the same IP for hours or daysStatic ISP proxyThe IP stays the same for the whole lease, HTTP or SOCKS5.
Your job rotates IPs between requestsRotating residential proxyA new IP on each new connection; add a session to the username when you need one IP kept.

Proxy302 product facts, read on 2026-12-03. Pick by what your job needs, then test one proxy before moving the rest.

Switch in five steps

  1. Step 1: Prove it is the proxy

    Send one test request through the proxy with a short timeout (the code below). Then send the same request without the proxy. If both fail, the problem is your own network.

    Expected result A proxy problem looks like: direct request works, proxied request times out or returns an error.

  2. Step 2: Get a spare line ready

    Keep at least one proxy of another type or from another service tested and unused, so you are not looking for one while the job is stuck.

  3. Step 3: Convert your list

    Paste your proxy list into the migrator so the host, port and username format match the new gateway. Your scripts keep reading the same file format.

  4. Step 4: Move one batch first

    Run a small share of the job (for example one in ten) on the new proxies and check the success rate on your real targets before moving the rest.

  5. Step 5: Keep the old list

    Do not delete the old list. When the first line is back, run the same small test on it and decide where each job should live.

One test request through a proxy

curl -m 10 --proxy "$PROXY_HOST:$PROXY_PORT" --proxy-user "$PROXY_USER:$PROXY_PASS" -s -o /dev/null -w "%{http_code}\n" https://ipinfo.io/ip

Example only. PROXY_HOST, PROXY_PORT, PROXY_USER and PROXY_PASS are placeholders for your own proxy. It prints the HTTP status of the request, or 000 on timeout.

Convert your list with the migrator

We published a small open-source tool that converts the common proxy formats (host:port:user:pass and user:pass@host:port) into Proxy302 gateway strings: github.com/proxy302/proxy302-migrator.

Create your proxy in your Proxy302 account first. The tool does not read or reuse the credentials of any other service.

Run the migrator

git clone https://github.com/proxy302/proxy302-migrator.git
cd proxy302-migrator
export PROXY302_USER='your-proxy-username' PROXY302_PASS='your-proxy-password'
python3 p302_migrator.py old_proxies.txt --country us --sticky --minutes 10

Example only. The environment variable values are placeholders for your own Proxy302 proxy username and password.

Common questions

How do I know if the proxy or my network is the problem?

Make the same request with and without the proxy. If the request without the proxy also fails, check your own connection first. If only the proxied request fails, move on to a spare proxy.

Should I switch all my traffic at once?

No. Move one small batch, check the success rate on your real targets, then move the rest. A bad batch is cheaper to find at one in ten than at all of it.

Do I need to rewrite my scripts to change proxies?

Not if you only change the proxy strings. The migrator rewrites a list in the common formats into Proxy302 gateway strings, so the script keeps the same structure.

Which proxy type do I switch to?

Match what the job needs: a fixed IP for a whole lease points to static ISP, new IPs between connections points to rotating residential. See the guides linked below for the difference.

Further reading

Setup guides Proxy302 publishes on GitHub on the same topic:

Reference links

2
  1. Proxy302 product facts

    Product observation · Confirmed on:

    Product facts of the site, read on 3 December 2026: static ISP proxies are leased per IP and the IP stays the same for the whole lease; rotating residential gives a new IP on each new connection unless a session is opened (add -session-<random string> to the username to keep one IP).

  2. Proxy302 proxy migrator on GitHub

    Product observation · Confirmed on:

    Open-source tool read on 3 December 2026: it converts the common proxy list formats into Proxy302 gateway strings and does not read or reuse the credentials of any other service.

Ready to try it?

Create an account, top up once, then pick rotating residential, static ISP or datacenter IPs and have one running in your browser within minutes.