Chrome has never shipped a SOCKS5 dialog of its own. The host and port fields people fill in belong to the operating system, and the only way to point the browser at a proxy without touching the system is a launch flag. Either route ends in the same place: Chrome runs its own SOCKS5 client, and that client has habits the settings screens never describe.
We put a local SOCKS5 server in front of Chrome 155 and recorded every byte it sent. Sixty-two connections later two facts dominate. The browser offers exactly one authentication method and has no code path that carries a password, and it sends every target as a domain name, even when the URL is a bare IP address.
The client is stricter than the endpoints it is pointed at. A proxy that insists on credentials cannot be used at all, and a proxy that only accepts a packed IPv4 target will never see a request.
measured
A SOCKS5 conversation opens with the client naming the authentication methods it can perform. Chrome's opening bytes were 05 01 00 on all 61 connections that sent a greeting: version 5, a list of one method, and that method is no-authentication. Not one of the 62 connections offered username and password, and the single socket that sent nothing had already been dropped during a preconnect.
That turns the method list into a hard limit rather than a preference. When the test server answered by selecting the username-password method, Chrome closed the connection without sending a single byte of a credential exchange, and the navigation ended at ERR_SOCKS_CONNECTION_FAILED. There is no prompt to type into, no field to pre-fill, and no retry that carries an identity.
| Server answers | What Chrome sent next | Navigation result |
|---|---|---|
| 05 00, no authentication | A CONNECT carrying a target, 32 times | Page rendered through the tunnel |
| 05 02, username and password | Nothing, socket closed | ERR_SOCKS_CONNECTION_FAILED |
| 05 ff, no acceptable method | Nothing, socket closed | ERR_SOCKS_CONNECTION_FAILED |
The practical reading is blunt. Paid SOCKS5 endpoints almost always want a username and password, and Chrome cannot supply one, which is why so many guides quietly move the job to an extension or a helper application that speaks the full protocol on the browser's behalf.
The second surprise sits inside the request. All 32 CONNECTs that carried a target used the domain-name address field, and none used the packed IPv4 field. That held even when the address bar contained a literal address: 1.1.1.1 was sent four times as the string 1.1.1.1, and 127.0.0.1 twice, both inside a domain-type frame.
So Chrome does not have the socks5 and socks5h split that curl exposes. It only ever speaks the remote-resolution dialect and lets the proxy do the lookup, which is why a proxy log shows hostnames rather than the addresses they resolved to. The destination host is visible to the proxy even when the traffic inside the tunnel is encrypted.
This cuts both ways for anyone testing endpoints. A checker that dials 1.1.1.1 with an IPv4 target asks a question Chrome never asks, so its verdict can be wrong in either direction. An endpoint that refuses domain targets while accepting addresses will fail every page and pass every IP-based test; the two endpoints that granted only the hostname form in our macOS sweep are the mirror image, and they happen to match what Chrome needs.
The obvious workaround, putting the credential in the URL, fails earlier than the handshake. Launching with socks5://user:pass@127.0.0.1:11085 produced zero connections: the server never saw a socket, and the page stopped at ERR_NO_SUPPORTED_PROXIES. The string is discarded while it is being parsed, so the credential does not get ignored at negotiation, it removes the proxy entirely.
That is the opposite of how Chrome treats an HTTP proxy, where a 407 response brings up a login box. The dialog exists because the HTTP proxy path has somewhere to put it; the SOCKS path has no equivalent surface, and the flag parser treats the userinfo as an unsupported form rather than a hint.
What actually works is moving the credential one hop away. A local relay accepts Chrome's passwordless greeting, performs the username-password exchange with the real endpoint upstream, and hands the tunnel back. The browser keeps its single-method habit, the paid endpoint gets its credentials, and the launch flag stays a plain host and port.
Failure does not make Chrome patient. In a second run the server accepted the greeting and then refused every CONNECT, which let each attempt be attributed to a host and a timestamp. One navigation to a single address produced sixteen connections in 1,185 milliseconds.
Five of those were for the page itself: four to port 80 and one to port 443, all inside a 20-millisecond window, two of them in the same millisecond. The rest were Chrome's own services, and www.google.com alone accounted for seven attempts. This is a fan-out, not a backoff with growing pauses.
| Target as logged | Attempts | First attempt, ms after launch |
|---|---|---|
| example.org:80 | 4 | 719 |
| example.org:443 | 1 | 739 |
| www.google.com:443 | 7 | 549 |
| Three other service hosts | 3 | 571 to 675 |
The consequence shows up on the proxy side, where one failed page can look like five requests in a log and one healthy page can look like two. It also means a struggling endpoint receives the retries long before the tab gives up, which is how a slow proxy turns into a saturated one.
Chrome exempts loopback addresses from the proxy without being asked. Pointing the browser at a page on 127.0.0.1 loaded it with the server untouched by the page request, which is the behaviour people rely on when they add localhost to a bypass list. The browser itself did not stay off the proxy: five connections still arrived while that page was on screen.
Those five went to Chrome's own services. One was a cleartext GET to clients2.google.com on port 80 requesting a time value with a cup2key parameter, and the others opened TLS to www.gstatic.com, update.googleapis.com, www.google.com and accounts.google.com. A bypass rule written for pages did not apply to any of them.
| Launch configuration | Page through proxy | Background through proxy |
|---|---|---|
| Default bypass rules | No, loaded direct | Yes, 5 connections |
| Bypass list set to loopback override | Yes, 2 connections | Yes, 5 connections |
Forcing loopback into the tunnel is still useful when the point is to watch what the browser does, and it also confirms the address habit from section two: 127.0.0.1 arrived as a domain name and the request inside the tunnel read GET / with Host: 127.0.0.1:11090. If the goal is to keep traffic away from a proxy, the bypass list is the wrong instrument, because the browser will keep talking to its own infrastructure regardless of what the page is allowed to do.
One Chrome profile, one proxy, one identity — and the credentials live in the profile rather than in a launch flag that cannot carry them.
Download RoxyBrowserEach profile stores its own proxy with its own authentication, so an endpoint that needs a password can be used without a relay and without touching the system setting.
No. All 61 greetings recorded here were the same three bytes, 05 01 00, which declares one supported method and offers only no-authentication. When the server answered by selecting username and password instead, Chrome closed the socket without sending a single byte of credentials, and the page failed with ERR_SOCKS_CONNECTION_FAILED.
Because its SOCKS5 client always asks the proxy to resolve. All 32 requests that carried a target used the domain-type address field, including the ones where the URL was a bare 1.1.1.1 or 127.0.0.1, so a literal address never left the browser as a packed IPv4 value.
The string is rejected while it is parsed, not while it is negotiated. Passing socks5://user:pass@127.0.0.1:11085 produced zero connections to the server and the navigation ended at ERR_NO_SUPPORTED_PROXIES, so the credential removed the proxy rather than being ignored at the handshake.
No. With the default rules the page at 127.0.0.1 loaded without touching the proxy, yet five connections still went through it for Chrome's own services, including a cleartext time query to clients2.google.com on port 80. The bypass list is a rule about pages, not about the browser.