Skip to content
Esc

Articles

What is a proxy? A plain-English guide for beginners: how it works, the types, and what it's forWhat is a 4G proxy? How mobile proxies work, pros, cons and when to use oneRotating proxies explained: rotation types and how to change a proxy IP with a linkSOCKS5 vs HTTP proxies: what's the difference and which should you use?Proxy vs VPN: what's the difference, and when should you use each?Static vs rotating proxies: how they differ, pros and cons, and when to use eachDedicated vs shared proxies: how they differ, and what "dedicated" means for a 4G proxyIPv4 vs IPv6 proxies: how they differ, why IPv6 proxies are cheap, and when they don't workHow do websites detect proxies? 8 signals anti-bot systems look atProxy glossary A to Z: 35 terms you'll meet when buying and using proxies, explained simplyProxy vs antidetect browser: how they differ, and do you need a proxy if you have antidetect?What is a residential proxy? How it works, pros and cons, and when to use oneWhat is a datacenter proxy? Pros and cons, why it's cheap, and when it's still the right choiceHow to find your IP address on a computer or phone: public IP, local IP, and your IP behind a proxyWhy do you keep getting CAPTCHAs? 9 common triggers, and where your IP fits inreCAPTCHA vs hCaptcha vs Cloudflare Turnstile: how each one decides who gets challengedWhat is botting? Good bots, bad bots, and where your own automation fitsHow to get a Singapore IP address: VPN, proxy, cloud server or SIM, and how to check itProxies for Facebook: managing several accounts more reliably with 4G IPsProxies for TikTok and TikTok Shop: when you need a Singapore IP and how to use it properlyProxies for advertising: checking and managing ads aimed at SingaporeProxies for e-commerce sellers: see marketplaces like a buyer, track competitors, keep store logins steadyProxies for web scraping: which type to choose, how to rotate, and how to play fairDo you need a proxy to buy tickets on ThaiTicketMajor, Ticketmelon or SISTIC?Scraping Google and Bing search results with a proxy, and when to use the API insteadHow to scrape without getting blocked: pace, sessions and clean IPsProxies for price monitoring: tracking competitor and retail prices across regionsScraping anti-bot and anti-proxy websites (Cloudflare, Akamai, DataDome): what works, and the limitsIs web scraping legal? Robots.txt, terms, personal data and copyright (Vietnam, Singapore and beyond)What are 4G proxies used for? 10 jobs mobile proxies do well, and the ones to avoid4G proxies for testing apps and websites as a Singapore mobile user: QA, ads, payments, bot rulesProxies for Instagram: managing brand and client accounts steadily with 4G IPsUsing a proxy to check flight and hotel prices as a Singapore user: when it helps and what to knowResearching the Singapore market with a proxy: see search, ads, marketplaces and competitors as a local userProxies for LinkedIn: managing B2B accounts and reaching the Singapore market the right wayProxies for X (Twitter): managing brand and client accounts steadily and within the rulesProxies for airdrops: why farming wallets through proxies gets disqualified, and how to join airdrops safelyProxies for seeding, bought likes and fake reviews: why they get caught, the risks, and lasting ways to growProxies for flash sales and limited drops: what a proxy can and can't do, and how to shop sales properlyProxies for large-scale, multi-country scraping: choosing proxy types, system design and real costsProxies for Netflix, YouTube and foreign streaming: why they usually fail, cost a lot, and what to do insteadSelling to Singapore from Vietnam: choosing channels, GST, shipping, payments and the tools you needSelling on TikTok Shop Singapore from abroad: seller requirements, workable routes and what a proxy can doThe Singapore online shopping market: who shops, where, how they pay and the big sale seasonsA workflow for agencies managing client accounts with proxies and antidetect: inventory, access, offboardingLocal SEO in Singapore: checking Google and Google Maps rankings as a Singapore user, the right wayProxies for Google Ads: when you need one, the official tools to use first, and the policy lines to knowRoblox lagging, high ping: does a proxy help, and the fixes that really reduce Roblox lagMultiple Roblox accounts (alts): what the rules allow and forbid, whether you need a proxy, and IP bansLag and high ping on Singapore game servers: do proxies or VPNs lower ping, and what actually helpsDiscord proxy: what it can and can't do, how to set it up, and managing communities the right wayShopee and Lazada Singapore proxies: see what Singapore buyers see, run your shop, track competitorsProxies for online business (MMO): which jobs need one, which type to pick and what to avoidProxy for bots and automation: one identity per IP, a polite pace, and what to do when a CAPTCHA appearsHow to set up a proxy on Windows, macOS, iPhone and Android (with a username and password)How to add a proxy to GoLogin, AdsPower, Hidemyacc, GenLogin and MultiloginRotate a proxy IP automatically with an API: curl, Python and Node.js examplesHow to check a proxy: IP, country, carrier, speed and DNS and WebRTC leaksCommon proxy errors and how to fix them: 407, timeouts, ERR_PROXY_CONNECTION_FAILEDScraping JavaScript-rendered sites with a headless browser and a proxy403, 429 and 503 errors when scraping: causes and how to handle them properly (with Python code)Using a proxy with Scrapy: authenticated setup, polite throttling, error fixes and rotating between runsUsing a proxy with curl and wget: HTTP, SOCKS5, authentication, environment variables and debuggingUsing a proxy in Python: requests, httpx and aiohttp with HTTP, SOCKS5 and authenticationSetting up a proxy in Chrome and Edge: a browser-only proxy without changing the whole computerSingapore proxy for Telegram: set up SOCKS5 on desktop, iPhone and Android, and how it differs from MTProtoSlow 4G proxy? How to measure speed and latency properly, and what really makes a proxy fasterUsing proxies safely: protect your proxy password, rotation link, accounts and dataUsing Proxifier for software without proxy support: SOCKS5 setup, per-app rules and DNSRoblox proxies for developers: calling Roblox APIs from HttpService, Open Cloud, and a safe self-hosted relayProtecting your Roblox account: cookie theft, "free Robux", malicious extensions, and how to stay safeHow to set up a proxy in AdsPower: HTTP or SOCKS5, where to paste it, checking the Singapore IP and rotatingHow to add a proxy to GoLogin: HTTP or SOCKS5, where to enter it, checking the Singapore IP and rotatingHow to add a proxy to GenLogin: HTTP or SOCKS5, where to paste it, checking the Singapore IP and rotatingHow to add a proxy to Hidemium: HTTP or SOCKS5, where to enter it, checking the Singapore IP and rotatingHow to add a proxy to BitBrowser: HTTP or SOCKS5, where to enter it, checking the Singapore IP and rotatingCAPTCHA keeps appearing or loops forever: 8 fixes, in the order to try themProxy keeps disconnecting? Why 4G proxies drop connections and how to handle itPlaywright proxy: set up an authenticated proxy in Python and Node.jsPuppeteer proxy: --proxy-server, page.authenticate and a proxy per browser contextUsing a proxy in Node.js: fetch, axios, got and SOCKS5 with a username and passwordMobile vs residential vs datacenter proxies: comparing 4G, home and server IPs, and how to chooseSingapore proxies: when you need a Singapore IP and which type to chooseClean proxies and blacklists: what a clean IP means, and why "never blocked" is a myth4G rotating proxies: how mobile IP rotation works, what clean rotation means and how to choose oneHow to tell a real 4G proxy from a fake: check the carrier, IP type, latency and rotationFree vs paid proxies: the real risks of free proxies, and when paying is worth itDedicated 4G proxies, not shared: why a proxy only you use matters, and how to check it yourselfHow many proxies do I need? Working out the number for accounts, teams and scrapingStatic IP proxies for allowlists, APIs and remote access: 5 options and how to choose the right oneVietnam or Singapore proxy? Choosing which country's IP fits your workSingtel, M1 and StarHub proxies: which Singapore carrier a 4G proxy runs on, and how to check itClean proxy and CAPTCHA: how IP reputation decides how many challenges you seeThe real cost of a dirty proxy: CAPTCHAs, retries, wasted bandwidth and blocked accountsSingapore SOCKS5 proxy: when to use it, how to set it up, and how to check it5G proxy vs 4G proxy: what changes, what doesn't, and whether 5G is worth paying more forCheap 4G proxies: $4 gets you 200GB, and how to compare mobile proxy prices properly before you buyRefer a friend and earn 10% on every proxy order: how the 65Proxy referral program worksWhy choose 65Proxy? 8 reasons you can verify, and when you should go elsewhereHow to buy a 4G proxy at 65Proxy: sign up, top up, pay, connect and rotate, step by stepWhere to buy a reliable proxy? 12 things to check before paying any providerTesting a 4G proxy in a 1-hour trial: a minute-by-minute checklistBuy proxies with USDT: paying for a Singapore 4G proxy over TRC20 or BEP20, step by step4G proxy with 500GB: what the plan includes, how far 500GB goes, and how bandwidth is countedGuides to 4G mobile proxies

Proxy keeps disconnecting? Why 4G proxies drop connections and how to handle it

Setup and use 7 min read

In this article
  1. 01 Why does my proxy keep disconnecting?
  2. 02 Find the pattern with a test loop
  3. 03 Rotation cuts open connections
  4. 04 IPv6 addresses fail straight away
  5. 05 Idle and reused connections
  6. 06 Short drops on the 4G line
  7. 07 Retry code that survives drops
  8. 08 When to contact support
  9. 09 65Proxy's Singapore 4G proxies
  10. 10 Frequently asked questions

A proxy that works and then suddenly drops connections usually has one of four causes: a rotation cutting open connections, an IPv6 address the 4G line can't reach, an idle connection that was closed while your tool still held it, or a short drop on the 4G line itself. A five-second test loop tells you which one it is, and a few lines of retry code make your script survive all four.

Why does my proxy keep disconnecting?

Match what you see to the likely cause, then jump to its section:

What you see Likely cause Fix
Requests fail for a few seconds, then work with a new IP Rotation Don't rotate while requests are running
One site always fails at once, others work IPv6 address Use socks5h:// or force IPv4
The first request after a pause fails, the next one works Idle connection Retry once on connection errors
Everything fails or crawls for a few minutes, then recovers Line drop Retry with backoff, then contact support
Always fails, from the very first request Wrong details or expired plan See common proxy errors

A 4G proxy is a real modem with a SIM card on a mobile network, so it will never be as steady as a server in a data center. That's the price of a carrier IP that sites treat like a phone. The good news is that every one of these drops is short and can be handled in code.

Find the pattern with a test loop

Before changing anything, record what the proxy does over a few minutes. This loop requests a small page every 5 seconds and prints the time (UTC), curl's exit code, the HTTP status and how long it took:

Terminal
export PROXY="http://USER:PASS@HOST:PORT"
while true; do
  out=$(curl -s -o /dev/null -x "$PROXY" -m 20 -w '%{http_code} %{time_total}s' https://api.ipify.org)
  code=$?
  echo "$(date -u +%H:%M:%S) exit=$code $out"
  sleep 5
done

On Windows, the same loop in PowerShell:

PowerShell
$env:PROXY = "http://USER:PASS@HOST:PORT"
while ($true) {
  $out = curl.exe -s -o NUL -x $env:PROXY -m 20 -w "%{http_code} %{time_total}s" https://api.ipify.org
  "{0} exit={1} {2}" -f (Get-Date).ToUniversalTime().ToString("HH:mm:ss"), $LASTEXITCODE, $out
  Start-Sleep 5
}

Let it run for 5 to 10 minutes, then read the exit codes:

  • exit=0 with 200: the proxy works. If your tool still fails at that moment, the problem is in the tool's settings.
  • exit=7: no connection. Run the command once with -v to see which side failed: Failed to connect means curl couldn't reach the proxy, while CONNECT tunnel failed, response 502 means the proxy couldn't reach the site (older curl versions report that one as exit 56).
  • exit=28: the request timed out after 20 seconds.
  • exit=97: the SOCKS5 connection failed when you test a SOCKS5 port, for example cannot complete SOCKS5 connection (older curl versions write Can't complete).

A few failures in a row followed by normal results points to a rotation or a line drop. Failures on one site only point to IPv6. Times that keep growing point to too much traffic on one line, covered in proxy speed.

Rotation cuts open connections

Rotating a 4G proxy makes the modem disconnect from the network and connect again to get a new IP. That takes a few seconds, and every connection open at that moment is cut: a page halfway through loading, a file download, a WebSocket.

  • Rotate only when nothing is running. Finish or pause the current requests, rotate, wait for the new IP, then continue.
  • Remember the parallel workers. Every worker on the same proxy shares the IP, so a rotation started by one of them cuts all the others.
  • Wait for the new IP before sending work. The full "call the link, then poll until the IP changes" code is in rotating the IP with an API.

Each 65Proxy proxy rotates at most once every 5 minutes, so a script that rotates more often gets a refusal, not a new IP.

IPv6 addresses fail straight away

The 4G lines behind 65Proxy carry IPv4 only. When your tool hands the proxy an IPv6 address, the proxy can't reach it and answers in a fraction of a second:

  • SOCKS5: "general failure" (reply 1), which curl shows as cannot complete SOCKS5 connection to example.com. (1).
  • HTTP: 502 Bad Gateway on the CONNECT request.

This happens most with socks5://, where your own machine looks up the site's name and may pick its IPv6 address (many sites, example.com among them, have one). The fixes:

  1. Use socks5h:// so the proxy looks up the name itself and gets an address it can reach. The difference is explained in socks5 or socks5h.
  2. Force IPv4 in curl with -4.
  3. Give tools a site name, never a raw IPv6 address.

If a site has only an IPv6 address, an IPv4 proxy can't open it at all. More on the two versions in IPv4 vs IPv6 proxies.

Idle and reused connections

Most HTTP libraries keep connections open and reuse them to save time. On mobile networks, a connection that sits idle can be closed along the way without your program noticing. The next request on it then fails with errors like:

  • Python: ConnectionResetError, RemoteDisconnected or Connection aborted.
  • Node.js: ECONNRESET or socket hang up.
  • Browsers: ERR_CONNECTION_RESET on the first click after a pause.

The fix is simple: retry once on a connection error, which opens a fresh connection (code in the retry section). For long-lived connections such as WebSockets, send a small ping every 20 to 30 seconds and reconnect automatically when the socket closes.

Short drops on the 4G line

Now and then a 4G line drops for a few minutes, for example when the modem loses signal or restarts. In the test loop it looks like this:

  • Several minutes of failures in a row: exit=7 (can't connect) and exit=28 (timeouts).
  • Slow replies of several seconds on the requests that do get through.
  • Recovery on its own, back to normal times.

These drops belong to the line, not to your settings, and changing your setup during one won't help. What does help:

  • Retry with growing pauses (backoff), as in the code below, instead of hammering the proxy.
  • Pause the job when retries keep failing for more than a few minutes, rather than marking every task as failed.
  • Save progress as you go, so a drop costs you a few minutes and not a whole run.
  • Spread important jobs over two or more proxies, so one line dropping doesn't stop everything. How many you need is in how many proxies do you need.

Retry code that survives drops

This Python example (requests) retries connection errors, timeouts and 502/503/504 answers, waiting 5, 10, 20 and 40 seconds between tries. It covers idle connections, rotations and short line drops, and gives up with a clear message when the line stays down:

Python
import os
import time

import requests

PROXY = os.environ["PROXY"]  # http://USER:PASS@HOST:PORT

session = requests.Session()
session.proxies = {"http": PROXY, "https": PROXY}


def get(url, tries=5):
    for attempt in range(1, tries + 1):
        try:
            resp = session.get(url, timeout=(10, 30))
            if resp.status_code not in (502, 503, 504):
                return resp
            print("attempt", attempt, "got", resp.status_code)
        except (requests.ConnectionError, requests.Timeout) as err:
            print("attempt", attempt, "failed:", type(err).__name__)
        if attempt < tries:
            time.sleep(5 * 2 ** (attempt - 1))
    raise RuntimeError("The proxy is still failing; check the line or contact support")


print(get("https://api.ipify.org").text)

A few rules that apply in any language:

  • Always set a timeout. Without one, a single request can hang forever and stall the whole script.
  • Don't retry IPv6 failures. A 502 that comes back instantly on every try is the IPv6 case, not a drop.
  • Don't retry 407. It means the username or password is wrong, and retrying won't change that; see 407 errors.
  • Log the time of each failure in UTC. It's what support needs to look at the line.

More Python setups (httpx, aiohttp, SOCKS5) are in using a proxy in Python.

When to contact support

Contact support when the test loop shows failures for more than about 10 minutes, or short drops many times a day. Send:

  1. The proxy's host and port (not the password).
  2. The times of the failures in UTC, copied from the test loop.
  3. The exact error, from curl -v or your tool.
  4. What you tested: the HTTP or SOCKS5 port, and which site.

With that, we can look at the line at those moments, restart the modem or move your proxy to another modem when one is free.

65Proxy's Singapore 4G proxies

65Proxy proxies run on Singtel and M1 4G modems in Singapore. Each proxy has an HTTP port and a SOCKS5 port with one username and password, plus a rotation link (at most once every 5 minutes), and is not shared with other customers.

  • Plans: 1 day $4, 7 days $13, 1 month $32, plus monthly plans with more bandwidth (500GB $40, 1TB $65).
  • Try it first: run the test loop above on the free 1-hour trial before you pay.
  • Buy: get a Singapore 4G proxy; it is delivered automatically once paid.
  • Support: the live chat on the site, with the times and errors from your test loop.

Frequently asked questions

Is it normal for a 4G proxy to drop sometimes?

Short drops of a few seconds to a few minutes are normal on any mobile line. Long outages, or failures every few minutes all day, are not: run the test loop and contact support.

Will more threads make it more stable?

No, usually the opposite. Every thread shares one 4G line, so too many parallel requests make replies slower and timeouts more frequent. Use fewer threads per proxy, or several proxies.

Why does curl work but my browser keeps failing?

The browser may be using the SOCKS5 port, which Chrome and Edge can't use with a password, or keeping old connections from before a rotation. Use the HTTP port in Chrome, as explained in setting up a proxy in Chrome, and restart the browser after rotating.

Does a VPN on my computer cause drops?

It can. A VPN changes how your computer reaches the proxy, and some VPNs or antivirus programs block unusual ports. Turn it off and run the test loop again to compare.