Sign in
Proxy

How to troubleshoot proxy connection failures, HTTP 407 errors, and timeouts

Identify whether the failure occurs during connection, authentication, or forwarding. Then retest the protocol, credentials, and source IP allowlist one at a time.

4 min read
How to troubleshoot proxy connection failures, HTTP 407 errors, and timeouts

Find the stage where the connection fails

  1. Choose a page you’re allowed to access and can normally open. On the same device and network, open it directly, then through the proxy. Record the time, the client’s exact error message, and the destination domain. If the direct connection also fails, try another known-good destination before troubleshooting the proxy.
  2. Copy the proxy hostname, port, protocol, and authentication method from the provider’s configuration page. Use the entry hostname, not the exit IP. Change one setting per test, save it, and start a new connection so the client doesn’t reuse an authenticated session.
SymptomWhat it tells youNext check
Proxy hostname doesn’t resolveThe client hasn’t reached the proxyCheck the hostname spelling and local DNS resolution
Connection to the proxy port is refusedAuthentication hasn’t startedVerify the port and service status
Client receives HTTP 407The proxy requires authenticationCheck whether the client sent credentials using a supported method
Client times out waiting for the proxy’s first responseA timeout alone doesn’t mean the password is wrongCheck whether the entry endpoint is reachable and the source IP is allowlisted
A globe mascot catches the first drop from a leaking pipe joint in a thimble, illustrating how to pinpoint the stage where a connection fails.

Match the protocol to the proxy port

Choose the protocol for the proxy endpoint, not the destination URL. An HTTP proxy can carry HTTPS traffic: the client first asks the proxy to open a tunnel, then negotiates encryption with the destination. Select HTTPS proxy only if the connection to the proxy itself requires encryption. If you see a certificate error, verify the proxy hostname rather than disabling certificate checks.

SOCKS5 uses its own handshake and doesn’t return HTTP status codes. If you selected SOCKS5 but see a 407, check whether the app is actually using the system proxy or another upstream proxy. If only domain lookups fail, check whether the client resolves names locally or passes them to the proxy. See the SOCKS5 specification for supported address types.

A globe mascot lines up a star-shaped shell with a matching opening, illustrating how the proxy protocol must match the endpoint.

HTTP 407: check proxy authentication

  1. Check the final response. If the first request receives an authentication challenge and the retry succeeds, leave the password unchanged. If the 407 persists, inspect the Proxy-Authenticate response header and confirm the client supports the advertised authentication method. Enter proxy credentials in the client’s proxy settings, not the website’s sign-in form.
  2. Copy the proxy-specific username and password again from the provider’s configuration page. Check capitalization, leading or trailing spaces, and any required username suffix. If the client has separate fields, enter the values as provided. If it requires a connection string, encode reserved characters in the credentials as the client requires; don’t encode the entire string.
  3. Clear cached credentials for that endpoint and reconnect. If another client works with the same settings, check the original app’s authentication settings before resetting the proxy password.
A globe mascot removes lint from a brass key, illustrating how to check credentials for stray characters.

Allowlist the source IP, not the proxy’s exit IP

On the device running the client, turn off only the proxy you’re testing. Keep any corporate gateway or tunnel you normally use, then check your public address with IP lookup. Allowlist the source IP the provider sees when your client connects to its endpoint, not the exit IP a website shows when the proxy is on. If the browser and app use different routes, use the source IP in the provider’s connection logs.

Check that the rule is active and matches the address family (IPv4 or IPv6). Private and shared address ranges are not public source addresses; check the IANA IPv4 Special-Purpose Address Registry if needed. Recheck the source IP after switching networks rather than allowing all sources for a test.

A globe mascot checks footprints at a greenhouse entrance, illustrating how an allowlist checks the address a connection came from.

Retest timeouts and prepare a support ticket

  • If the handshake succeeds but the first byte is slow, keep the same proxy endpoint and try a different destination. If only one destination is slow, investigate the path from the proxy to that destination instead of changing credentials again.
  • Before submitting a support ticket, confirm the proxy protocol and port, authentication method, source IP, and stage where the request failed. Include a timestamp with its time zone and the exact error with sensitive details removed. Don’t send passwords, authentication headers, or full connection strings.