Troubleshooting · Error 407

407 Proxy Authentication Required Error and How to Fix It

Error code 407 is returned by the proxy server itself, not the website you are visiting. It means the proxy received the connection but rejected the credentials: they are missing, incorrect, or sent incorrectly. The good news is that the proxy is still alive and reachable; you only need to fix the authentication.

Author: Bùi Toàn · Updated: 19/11/2026

How do you know you are encountering a 407 error?

A 407 error occurs when the proxy rejects your username and password: browsers prompt repeatedly for login, while curl, Python, and software explicitly return code 407.

  • The browser repeatedly shows the proxy login dialog even after entering credentials.
  • curl -v prints "HTTP/1.1 407 Proxy Authentication Required" along with a Proxy-Authenticate header.
  • Python raises a ProxyError with "407 Proxy Authentication Required".
  • The antidetect browser reports a failed proxy check, sometimes explicitly citing code 407.

Causes: From Most Common to Rare

  1. Typos or trailing spaces: leading or trailing spaces in the username or password; confusing lowercase l with number 1, or letter O with number 0. Copy directly from the management dashboard instead of typing manually.
  2. Wrong order: ONET proxy strings follow the ip:port:user:pass format. Some software expects user:pass@ip:port; pasting the wrong format puts the username and password into the wrong fields.
  3. Unencoded special characters: when concatenated into a URL like http://user:pass@ip:port, characters such as @ : / # in the password must be encoded as %40, %3A, %2F, %23.
  4. Software does not send authentication: proxies configured in Windows Settings do not pass credentials; software unable to show a login prompt will receive 407. Use Proxifier or the application's dedicated proxy fields.
  5. Outdated saved password: the browser or Windows Credential Manager still retains credentials from an earlier proxy with the same IP.
  6. Expired proxy or changed credentials: check the dashboard to verify the current status and credentials of your order.

How do you fix error 407 in browsers and software?

Clear saved proxy credentials and re-enter the correct username and password where you use the proxy; here is how to do it across environments.

Chrome, Edge

Completely close and reopen the browser so the login prompt appears again. If using SwitchyOmega, re-enter your credentials at the lock icon and click Apply changes. Remove outdated passwords from Windows Credential Manager if present.

Firefox

Go to Settings > Passwords, remove the proxy login entry, and revisit the site to enter it fresh.

Antidetect browsers

Remove the proxy from your profile, paste the entire ip:port:user:pass string again, select the correct proxy type (HTTP, or SOCKS5 if the proxy runs SOCKS5), and click test. Close and reopen the profile.

Python, curl

Use -U "user:pass" with curl; in Python, URL-encode the username and password using urllib.parse.quote before assembling the URL.

How do you tell whether error 407 is caused by the proxy or the software?

Test the proxy independently of the browser with a single command: curl -v -x http://IP:PORT -U user:pass https://api.ipify.org (on Windows PowerShell, type curl.exe). If the proxy IP is printed, the proxy is running properly; the issue lies in how the device or software uses the proxy.

If curl also receives 407 with the newly copied credentials, take a screenshot of the result and contact ONET support with the proxy IP (no need to send your password).

Don't have a proxy yet? Buy dedicated proxies with automatic activation

Dedicated IPv4 proxies in 9 countries from 20.000₫/IP/month when purchasing 2.000 IP or more (39.000₫ for 1 IP), plus Vietnam and US static ISP proxies. HTTP(S) and SOCKS5 with username and password, unlimited bandwidth, automatically provisioned after payment. Note: Vietnam proxies currently use the HTTP(S) protocol, SOCKS5 is not yet supported.

Buy proxies now

Frequently Asked Questions

Does error 407 mean the proxy is dead?+

No. 407 means the proxy is responding, but rejecting the credentials. A dead proxy usually returns a timeout or connection refused.

Is there any way to use ONET proxies without a password?+

No. ONET proxies authenticate with a username and password, not IP whitelisting. For software lacking a password field, use Proxifier.

Why does the same proxy work on one machine but throw error 407 on another?+

The failing machine is sending different details: an old saved password, extra whitespace, or software failing to send authentication. The proxy does not distinguish between machines.