WeChat recycles normally, but 90% of the time it's HTTP or SOCKS5 hasn't been restored

During the National Day holiday, my niece brought her laptop back to find me, saying the computer was "poisoned": the browser kept spinning in circles, not a single webpage would appear, but WeChat video chatted for half an hour without any lag. She used a game accelerator in her college dorm to play on foreign servers. The night before the holiday, she turned off the accelerator and packed her luggage, but the next day her computer was just like that. I dragged the error page from the browser to the bottom and saw a line of small text—"Unable to connect to proxy server." It's not a virus; it's just that when the accelerator exits, the system proxy switch doesn't restore it.
Take two minutes first to distinguish between proxies and VPNs
The
concept of agency sounds mysterious; to put it bluntly, it's just a errand runner. Normally, your browser directly finds the website to get the page, and no one passes through in between. After opening a proxy, the browser first sends the request to the proxy, which runs the website for you and then returns the result. What the website sees is the agent knocking on the door, not the person themselves.
I only fully understood
the difference between it and a VPN. A VPN is like building a tunnel with a virtual network card, and all computer traffic is indiscriminately fed into the tunnel—I used to connect to the company VPN during a business trip, and after disconnecting, the default route line remained in the routing table. Halfway through, the network crashed. That time, I < a href="https://www.shunot.com/en/lybk/1059.html"> the extra line in the routing tableDamn. Proxies are different; they are recognized individually by application: obedient apps like browsers read system proxy settings and follow them; WeChat and most games ignore this setting and just connect directly to the door. This explains the symptoms of my niece's computer—the browser waits for the errand runner to open the door, but the errand runner leaves work early; WeChat goes out by itself, living just fine.
Trying to properly run all your home devices through a tunnel is a different matter. I've previously written that router to use VPN for remote home is unrelated to system proxy.
HTTP proxies and SOCKS5 differ in whether they check packages or not
The types of agents you hear about daily are basically two, each with different errands and methods.
HTTP proxies are veterans, born to run errands for web pages. It can read the header of HTTP requests and can do other tasks at the same time: set up a company that caches pages repeatedly visited by all staff here, and caches them directly when someone visits; You can also filter by the address in the head. By the time HTTPS was everywhere, it used a method called CONNECT to punch a hole first, then forwarded the encrypted byte as is—it still couldn't understand what was passed through the hole. The details of this hole mechanism were discussed in the article http and https.
SOCKS5 takes a different approach: they don't even open the package, only look at the "delivery destination" on the shipping label. Because it is not particular about content, it handles web pages, emails, games, and any TCP/UDP tasks, so accelerators and various clients love using it. TCP and UDP: Which controls retransmission and which controls speed? This article was detailed in previous articles.
| Comparison item: | HTTP proxy | SOCKS5 |
|---|---|---|
| - can read content | and understand web pages | ,request headers ignore it, only focus on forwarding |
| can do | the work mainlywebpages, can be cached and | filtered No protocol restrictions, game email is all accepted |
| Common ports | are 8080, 3128 | ,1080 |
Ports are a tradition, not a rule. 1080 is an old tradition in SOCKS5. Nowadays, many clients default to high-level ports like 7890, where port numbers don't depend on protocols. < article on what port is > a href="https://www.shunot.com/en/lybk/1083.html" is very clear. You see in the tutorial that you have to enter 127.0.0.1:7890, which means "there is a proxy client on port 7890 on this machine with the door open." 127.0.0.1 always refers to your own computer.
Who is secretly altering your system agent
?The Windows proxy switch is hidden on the Setting → Network and Internet → Proxy page, which has three boxes: "Automatic Detection Settings," "Use Setup Scripts," and "Manual Proxy Setup." On a normal home computer, all three slots should be closed. However, the following types of software will turn on the switch for you when installed and running:
Game accelerators are the top choice; my niece's machine fell for it just like that; The second type is packet capture and debugging tools, which I have failed myself — there was a period when I tried to adjust smart home interfaces, had the packet capture tool running system proxy, closed the lid at night, and the next day the browser was completely disabled, and only remembered after half an hour of fiddling; The third type is the company intranet client, which connects to company resources at work, and most computers from handovers remain after resignation; Some ad-removal browser plugins take the path of "using setup scripts," scientifically called PAC, which essentially gives the browser a list of "which addresses use proxies."
The pitfall is that clicking out doesn't equal restoring the settings. Most apps will obediently turn the switch back on when exiting normally, but once it crashes, forcibly exits, or directly unplugged the power, the switch freezes on. The house number was still hanging, the runner was gone, and the browser kept crashing headfirst toward the dead door.
The webpage spins in full circles, WeChat is normal, but first read the small text on the wrong page
This symptom is the easiest to guess recklessly. Instead of blaming routers, optical modems, and DNS one by one, it's better to drag the error page to the bottom of the browser error page, where the gray text directly reveals the root of the problem. I have summarized a triage chart myself:
| Where to find | theroot cause | of the error page |
|---|---|---|
| Unable to connect to proxy server / ERR_PROXY_CONNECTION_FAILED | proxyremains | in this article's main thread, turn off switch |
| Cannot find server IP address / DNS_PROBE For the DNS issue at the beginning | < see the article on DNS configuration >a href=https://www.shunot.com/lybk/741.html", and the other article on the optical modem | side|
| Half the app was down, half was normal, and even restarting didn't use | VPN routers to find | theextra route print |
Note that "WeChat is normal" does not mean the proxy retains a unique signature; when DNS is broken, WeChat is also normal—it has its own server address memory. So don't rely on guessing, rely on reading: if an error contains the word "proxy," it's a proxy matter; if it includes "DNS," it's a parsing matter. Not a single word will lie to you. Here's another piece of evidence: if the phone and WiFi are all normal, it means the issue is locked in the computer's settings and has nothing to do with the router.
Clear the residue, and follow these three layers from top to bottom
The first layer is the settings interface. In Windows 11: Set up → Network and Internet → Proxy, turn off 'Use Proxy Server,' and also turn off 'Auto Detection Settings'—this switch is on, so every time the computer switches to a network, it broadcasts asking 'Is there a proxy script on this network?' If no one answers, you connect directly, which is wasted and leaves it in a home environment doing nothing. After making changes, you must restart your browser. Chrome and similar apps read the system proxy once at startup, so if you turn it off, it won't notice. For plugins like SwitchyOmega, you also need to check whether the plugin has switched back to 'Direct Connection'—it has an extra layer of its own switch than the system settings.
The second layer is the system services layer, which manages proxy services like Windows updates, and is not the same page as the settings interface. Open the terminal as administrator, type netsh winhttp show proxy, and take a look. If a proxy appears, type netsh winhttp reset proxy to reset it to direct connection. My niece's machine was fully healed after the first layer was closed, and the second layer was prepared for difficult cases.
The third layer is the environment variable. Command line tools (git, curl, pip, etc.) don't look at the settings interface, look at the http_proxy environment variable. In the terminal, type echo %http_proxy% to check; if there is a value, set http_proxy= to clear. Once, I tried to pull code from the command line and couldn't connect no matter what. The browser worked fine, but then I found out that a tutorial had asked me to export the proxy once, and it was left there.
When does the family really need it
?Let's first dismiss a common mistake: in the mobile WiFi details, there's a 'proxy' option, but it always stays at 'None.' Home routers don't use proxies; if you fill in anything, all your phone's data will knock on a door that doesn't exist.
If you really want all your devices to use proxies—remove ads, let certain types of traffic go out together—the legitimate way is to attach an old router next to it as a bypass router, just point the gateway to it, and don't touch any browser settings. I < the article where I a href="https://www.shunot.com/en/zhonghe/833.html"> using N1 as a bypass router — I wrote the whole process. Compared to manually filling out proxies on each device, the advantage of bypass routing is that you can disconnect and leave anytime without leaving any residue.
| What to do with the symptom | |
|---|---|
| browser says 'Unable to connect to proxy server.' | Turn off two switches in settings and restart the browser |
| after turning off the switch, it still doesn't work | .netsh winhttp reset proxy |
| Command line cannot connect, browser searches normally | http_proxy Environment variables |
| If you want FamilyMart to use proxy | bypass routes, don't fill in them on every device |
Wrap up the order: Read the error page to confirm it's a proxy issue. → Turn off two switches in the settings interface. → Restart the browser. → If not, check netsh winhttp → Command line tools can separately check environment variables. → Always leave 'No' on the phone. The complete approach to troubleshooting this is the same as the five checkpoints from the network cable to the webpage: first identify which layer the problem is, then act. My niece's phone takes three minutes to turn off a switch and restart a browser—provided you know this switch exists.
