Proxy troubleshooting
HTTP 407 Proxy Authentication Required
A 407 means the proxy rejected the connection’s credentials or did not receive them. Fix proxy authentication before changing the destination URL or adding retries.
Find where authentication failed
- No credentials sent
- Set the client’s proxy username and password. In cURL, pass them with
--proxy-user. - Credentials rejected
- Check the assigned host, port and product username. Undo recent targeting suffix changes, then add them back one at a time.
- IP allowlist rejected
- Check the public IP of the machine making the request and confirm that it matches the configured allowlist.
Test one known connection
Use a public page and the authentication method your provider assigned to your account. If the response includes Proxy-Authenticate, check which scheme it requests. A destination’s 401 and WWW-Authenticate header concern the website itself.
When credentials work in one client but fail in another, compare how the two clients handle special characters. In a proxy URL, encode credentials according to your client’s URL rules. With separate username and password fields, pass them as the client expects.
Check the exit IP after the request succeeds
If the job requires a particular market, compare the observed country with the requested country. A successful connection can still return an exit in a different market.