Proxy troubleshooting
Proxy Authentication Failed: How to Fix Username, Password and Whitelist Problems
A step-by-step checklist for proxy login failures in browsers, scripts, API clients and automation tools.
Why does proxy authentication fail?
Proxy authentication failed means the proxy server did not accept the credentials or did not recognize your source IP as allowed. Start by checking host, port, protocol, username, password and IP whitelist before changing the application.
- Check credential format
- Verify authorization
- Test one connection
Read the response code first. A 407 points to authentication at the proxy; a 401 usually comes from the destination.
Symptoms of a proxy authentication failure
- Browser keeps asking for proxy username and password.
- Script returns 407, authentication failed or connection unauthorized.
- The same proxy works from one server but not another.
- The proxy works without auth only after whitelisting the machine IP.
Common credential and source IP mismatches
| Cause | How to confirm it |
|---|---|
| Wrong username or password | Paste credentials into a clean text editor and check hidden spaces. |
| Wrong proxy format | Use host, port, username and password fields exactly as the software expects. |
| Whitelist mismatch | Check the public IP of the machine running the browser or script. |
| Wrong protocol | Do not use SOCKS5 syntax in an HTTP-only field. |
Fix workflow
- Test the proxy outside the failing app with the Proxy Tester.
- Rebuild the proxy string using the Proxy Formatter.
- Confirm whether the provider expects username/password or IP authentication.
- If IP auth is enabled, check the public IP of the device or server making the request. Use this guide to identify which public IP to allowlist for your browser, script or online tester.
- Retry in the original application only after the direct test works.
Which system asked for credentials?
If the client reports 407, check whether it sent proxy credentials and whether this endpoint expects a password or an authorized source IP. If the destination instead reports 401 after the connection succeeds, inspect the application login.
When the client has no HTTP status, locate the stage where it stopped. For an immediate refusal, test the proxy host and port. For a request that reached its deadline, identify the last completed step. When the proxy returns 407, continue with the credential and source IP checks above.
When handing the issue to support, include the code and authentication method. Remove credentials from screenshots and copied URLs.
Useful checks
For HTTP clients, a 407 status is the clearest sign that proxy authentication is required. MDN documents HTTP 407 as the status returned when valid proxy credentials are missing or rejected: MDN HTTP 407.
How can I isolate a proxy login failure?
Test one endpoint in the client that is failing. If it returns 407, check the configured authentication method and whether the client sent the proxy credentials. Keep passwords out of the support log.
Check the proxy response and website response separately
Run this from the affected device with an HTTP proxy endpoint that uses username and password authentication. Replace the host, port and username with the values for that service. Enter the password at cURL’s terminal prompt. Use an HTTPS test address that you are authorized to request.
curl -q --noproxy "" --proxy "http://PROXY_HOST:PORT" --proxy-user "PROXY_USERNAME" --connect-timeout 10 --max-time 20 --silent --show-error --output /dev/null --write-out 'CONNECT=%{http_connect} HTTPS=%{response_code}\n' "https://example.com/"
The command above uses a macOS or Linux shell. In PowerShell, use curl.exe and replace /dev/null with NUL. Check the native argument mode in PowerShell 7.3 or later. Read $PSNativeCommandArgumentPassing to see which mode is active. In Windows or Standard mode, pass '' as the empty value after --noproxy. In Windows PowerShell 5.1 or Legacy mode, pass '""' instead. If the proxy authenticates by source IP, omit --proxy-user and run from the authorized network.
In a loopback test with curl.exe 8.22.0, the matching argument sent a CONNECT request in all four tested shell configurations. A plain empty value sent no CONNECT request in either legacy configuration. See the PowerShell cURL test and quoting example for the argument passed to the native command.
CONNECT=407 HTTPS=000means that the HTTP proxy asked for authentication during the tunnel request. Recheck the credential pair or the authorized source IP before retrying.CONNECT=000 HTTPS=000with a connection error means no HTTP response was received from the proxy. Check the host, port, protocol and network path. Include the cURL exit code if you open a ticket.CONNECT=200 HTTPS=403means the proxy opened the tunnel and the HTTPS request then received a 403. Include both codes when reporting the destination error.

Share the two status codes and the time of the test. Keep proxy passwords and request headers private. See the cURL write-out reference for the status fields.
What should I update after changing proxy credentials?
For a BuyProxies service, sign in to the client area and open the intended service. Its Access section shows the Username, Password and Proxy type; Change credentials is the separate account control.
- After completing a credential change, reopen the service details and check the current values privately.
- Update any application profile, secret store or imported list that still contains the previous username and password. Check the host, port and protocol against the current service details too.
- Run one controlled request from the affected device before restarting the full workflow.
Do not assume a saved application profile updates when you change the service credentials. Proxy credentials and the destination website’s login are separate; keep both out of screenshots, public logs and shared examples.
FAQ
Why does the proxy work on my PC but not on my server?
The provider may have whitelisted the PC public IP but not the server public IP.
Can a wrong protocol cause auth failure?
Yes. Some apps show a generic authentication error when the protocol or proxy URL format is wrong.
Should I reset the password first?
Only after checking format and whitelist. Most failures are caused by pasted format or source IP mismatch.
