HTTP 407 Proxy Authentication Required
HTTP 407 Proxy Authentication Required means an HTTP proxy demands valid credentials. Its Proxy-Authenticate header advertises the applicable scheme. An HTTPS request can receive 407 during CONNECT, before it reaches the target.
Check the connection details from your provider
Confirm the host, port, proxy protocol and authentication method. Use credentials from the provider’s proxy connection settings. In a URL-style entry, a password such as demo@west needs the @ encoded as %40. For an IP-authorized endpoint, check whether the allowlist covers the machine that makes the request.
Retest after changing the authentication settings
Run the default TestMyProxies IP check with the corrected entry. If the same login works locally and fails online, compare the source IP requirements and the input format. A SOCKS5 login rejection can also appear as Proxy authentication failed with the HTTP code empty. Check the supported lists and credential syntax.
How to read a 407 proxy authentication trace
For an HTTPS target, a trace can begin with CONNECT api.example.test:443 and then show HTTP/1.1 407 Proxy Authentication Required with Proxy-Authenticate: Basic realm="proxy". The proxy wants credentials for that authentication scheme. Configure them in the client’s proxy settings. Credentials for the website belong in its own authentication settings. A single challenge can be part of a successful exchange if the client answers it and the proxy then opens the tunnel.
Investigate a 407 that keeps coming back
Check the final response after the client tries the challenge. If it still returns this proxy error, check that the client supports the scheme offered by the endpoint and that the proxy account is enabled. For IP-based authentication, the tester’s outbound connection and your laptop’s connection can use different source addresses. Compare those addresses with the provider’s approved entries. Save the proxy hostname, port, challenge type and time for support, and redact all passwords and authentication header values. See how to capture a proxy test with curl.