{"id":185,"date":"2026-11-01T15:30:00","date_gmt":"2026-11-01T10:00:00","guid":{"rendered":"https:\/\/proxykite.com\/blog\/?p=185"},"modified":"2026-11-14T16:52:27","modified_gmt":"2026-11-14T11:22:27","slug":"http-error-407-proxy-authentication-required","status":"publish","type":"post","link":"https:\/\/proxykite.com\/blog\/http-error-407-proxy-authentication-required\/","title":{"rendered":"HTTP Error 407: Proxy Authentication Required Fixes"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">HTTP error 407 means the proxy wants authentication before it will forward your request. This guide shows how to read the challenge and fix credentials, formats, IP allowlists, curl, Python Requests, and browser settings without confusing proxy authentication with login at the destination website.<\/p>\n\n\n\n<aside class=\"ap-card\" aria-label=\"ProxyKite per-dongle licence\">\n<span class=\"ap-card__badge\">Practical fix<\/span>\n<div class=\"ap-card__body\"><p class=\"ap-card__name\">ProxyKite per-dongle licence<\/p><p class=\"ap-card__best\">Best for anyone turning their own 4G\/LTE dongles + SIMs into HTTP\/SOCKS5 mobile proxies, from 1 dongle to hundreds<\/p><ul class=\"ap-card__features\"><li>Every dongle becomes an HTTP + SOCKS5 proxy on a public port of our cloud router \u2014 no static IP or port forwarding, works behind CGNAT<\/li><li>IP rotation on demand, by rotation link, or on a timer from 60 s to 7 days (sticky option); returns old + new IP<\/li><li>One-line installer on a Raspberry Pi \/ Linux box; Huawei E3372 HiLink is the reference stick<\/li><li>SIM inbox for carrier messages, bandwidth limits per day\/week\/month, live traffic insights<\/li><li>Sub-users, white-label (your logo\/colours), REST API, webhooks and Telegram alerts included<\/li><li>Flat price, traffic is free \u2014 rides on your own SIM data plans<\/li><\/ul><\/div>\n<div class=\"ap-card__side\"><p class=\"ap-card__price\">$9 per dongle <small>per month<\/small><\/p><a class=\"ap-card__btn\" href=\"https:\/\/proxykite.com\/#pricing\">Talk to us \u2192<\/a><\/div>\n<\/aside>\n\n\n\n<h2 class=\"wp-block-heading\">What you need<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Have these five values ready from your proxy panel or provider:<\/p>\n\n\n\n<figure class=\"wp-block-table ap-table\"><table><thead><tr><th>Value<\/th><th>Example<\/th><th>Where it is used<\/th><\/tr><\/thead><tbody><tr><td>Proxy protocol<\/td><td><code>http<\/code><\/td><td>Tells the client how to speak to the proxy<\/td><\/tr><tr><td>Host<\/td><td><code>proxy.example.net<\/code><\/td><td>The proxy server name or address<\/td><\/tr><tr><td>Port<\/td><td><code>30007<\/code><\/td><td>The proxy listener port<\/td><\/tr><tr><td>Username<\/td><td><code>u7abc<\/code><\/td><td>The proxy login, if user:pass auth is enabled<\/td><\/tr><tr><td>Password<\/td><td><code>s3cret<\/code><\/td><td>The matching proxy secret<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You also need a harmless URL to test, such as <code>https:\/\/example.com\/<\/code>. Do not start by debugging a large scraper or browser profile. First prove that one request can authenticate through the proxy.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ProxyKite endpoints support HTTP and SOCKS5 access, with user:pass or IP whitelist authentication. An API token used for dashboard or API calls is a different credential and does not automatically authenticate a proxied web request. The <a href=\"https:\/\/proxykite.com\/docs\/guide\/authentication\">ProxyKite authentication guide<\/a> is useful when you need to keep those two credential types separate.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/proxykite.com\/blog\/wp-content\/uploads\/2026\/10\/http-error-407-proxy-authentication-required-1.webp\" alt=\"ProxyKite\u2019s authentication documentation separates API access from the credentials used by proxy requests.\"\/><figcaption class=\"wp-element-caption\">ProxyKite\u2019s authentication documentation separates API access from the credentials used by proxy requests.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">What HTTP 407 means<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">HTTP 407 is generated by a proxy that is acting between your client and the destination. The proxy sends a <code>Proxy-Authenticate<\/code> response header describing one or more authentication schemes, and the client must answer with <code>Proxy-Authorization<\/code> credentials. <a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc9110.html#name-407-proxy-authentication-requi\" target=\"_blank\" rel=\"noopener\">RFC 9110<\/a> defines this exchange.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That makes 407 different from 401. A 401 is an authentication challenge from the origin server, using <code>WWW-Authenticate<\/code> and <code>Authorization<\/code>. A 407 is a challenge from the proxy, so adding an <code>Authorization<\/code> header for the destination will not solve it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A 407 usually means one of these things:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n\n<li>No proxy credentials were sent.<\/li>\n\n\n<li>The username or password is wrong, expired, or paired with the wrong proxy.<\/li>\n\n\n<li>The client parsed the proxy string incorrectly.<\/li>\n\n\n<li>A reserved character in the password changed the URL.<\/li>\n\n\n<li>The proxy expects a different scheme than the client is using.<\/li>\n\n\n<li>The proxy is using IP whitelist authentication and your current public egress IP is not allowed.<\/li>\n\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Read the proxy challenge<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: the response headers tell you whether the proxy was reached and what authentication method it expects.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Run a request with verbose output and no credentials first:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -v \\\n  --proxy 'http:\/\/PROXY_HOST:PROXY_PORT' \\\n  'https:\/\/example.com\/' \\\n  -o \/dev\/null<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>PROXY_HOST<\/code> and <code>PROXY_PORT<\/code>, but leave the placeholder URL as it is for the first test. In the output, look for a response similar to:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt; HTTP\/1.1 407 Proxy Authentication Required\n&lt; Proxy-Authenticate: Basic realm=\"...\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The status confirms that the TCP connection reached a proxy. The <code>Proxy-Authenticate<\/code> line identifies the offered scheme. <code>Basic<\/code> is common for user:pass proxy credentials; an enterprise proxy may instead advertise <code>Digest<\/code>, <code>NTLM<\/code>, or <code>Negotiate<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you get a DNS error, connection refusal, timeout, or TLS error before an HTTP status, you do not have a 407 authentication problem yet. Fix the host, port, route, or TLS path first. If you get <code>401<\/code>, inspect the destination site&#8217;s login requirements instead.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Success looks like a clear 407 response with a <code>Proxy-Authenticate<\/code> header. Save that header while troubleshooting, but remove usernames and passwords from any shared log.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Check the endpoint and credential format<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: a valid credential sent to the wrong port, protocol, or field is still an invalid proxy request.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For a URL-aware client, the usual authenticated HTTP proxy form is:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:\/\/USERNAME:PASSWORD@HOST:PORT<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For a client with separate fields, enter the same values as follows:<\/p>\n\n\n\n<figure class=\"wp-block-table ap-table\"><table><thead><tr><th>Client field<\/th><th>Enter<\/th><\/tr><\/thead><tbody><tr><td>Proxy type<\/td><td>HTTP or SOCKS5, as provided<\/td><\/tr><tr><td>Host or server<\/td><td><code>proxy.example.net<\/code><\/td><\/tr><tr><td>Port<\/td><td><code>30007<\/code><\/td><\/tr><tr><td>Username<\/td><td><code>u7abc<\/code><\/td><\/tr><tr><td>Password<\/td><td><code>s3cret<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Do not paste <code>user:pass@host:port<\/code> into a host-only field. Do not use the website&#8217;s URL as the proxy host. An HTTPS destination can still use an <code>http:\/\/<\/code> proxy URL: the <code>http:\/\/<\/code> describes the connection to the proxy, not the destination page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/proxykite.com\/docs\/guide\/proxy-formats\">ProxyKite proxy formats guide<\/a> shows the supported HTTP and SOCKS5 forms. Use the SOCKS5 scheme only when the endpoint and the client both support SOCKS5.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Encode reserved password characters<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When credentials are embedded in a URL, characters such as <code>@<\/code>, <code>:<\/code>, <code>\/<\/code>, <code>?<\/code>, <code>#<\/code>, and <code>%<\/code> have syntax meaning. A password such as <code>pa@ss\/#<\/code> must be encoded in the URL as <code>pa%40ss%2F%23<\/code>; otherwise the client may interpret part of it as the host or a URL delimiter.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:\/\/u7abc:pa%40ss%2F%23@proxy.example.net:30007<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Encode only the username and password, and encode each value once. If the application provides separate username and password fields, enter the raw password there unless that application explicitly asks for URL encoding.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Success looks like the client is using the intended host, port, protocol, username, and password as five separate values. The same endpoint should be testable in one simple client before you move to the application that originally failed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Fix curl<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: curl lets you separate proxy selection from proxy authentication, making format errors easy to isolate.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For user:pass authentication, keep the credentials in <code>--proxy-user<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -v \\\n  --proxy 'http:\/\/proxy.example.net:30007' \\\n  --proxy-user 'u7abc:s3cret' \\\n  'https:\/\/example.com\/'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The short equivalents are <code>-x<\/code> for <code>--proxy<\/code> and <code>-U<\/code> for <code>--proxy-user<\/code>. The <a href=\"https:\/\/curl.se\/docs\/manpage.html\" target=\"_blank\" rel=\"noopener\">curl command-line manual<\/a> documents <code>--proxy-user<\/code>, proxy schemes, and proxy authentication selection.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the challenge says <code>Basic<\/code>, you can make that choice explicit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -v \\\n  --proxy 'http:\/\/proxy.example.net:30007' \\\n  --proxy-basic \\\n  --proxy-user 'u7abc:s3cret' \\\n  'https:\/\/example.com\/'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If the proxy advertises another scheme and your curl build supports it, use the matching proxy option or let curl choose from the challenge:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -v \\\n  --proxy-anyauth \\\n  --proxy 'http:\/\/proxy.example.net:30007' \\\n  --proxy-user 'u7abc:s3cret' \\\n  'https:\/\/example.com\/'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">With a password containing <code>@<\/code>, <code>#<\/code>, or shell metacharacters, quote the separate <code>--proxy-user<\/code> value. Separate arguments do not have the same URL-delimiter problem as embedding credentials in the proxy URL. A password containing a single quote needs a protected config file or secret store rather than a copied command line.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Treat command-line credentials as sensitive. They can enter shell history, terminal transcripts, or process inspection on some systems. Use a short-lived test credential, a protected curl config, or your secret-management workflow for a real job, and never commit a proxy password to source control.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Success looks like curl completes the proxy authentication exchange and returns the destination response. In verbose output, you should see the request proceed after the 407 challenge; the final status is from the destination, not another 407.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Fix Python Requests<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: Requests expects proxy URLs in a dictionary, and it can also inherit proxy environment variables that silently override what you thought you configured.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Start with an HTTP proxy URL containing a simple placeholder credential:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import requests\n\nproxy_url = \"http:\/\/u7abc:s3cret@proxy.example.net:30007\"\nproxies = {\n    \"http\": proxy_url,\n    \"https\": proxy_url,\n}\n\nresponse = requests.get(\n    \"https:\/\/example.com\/\",\n    proxies=proxies,\n    timeout=30,\n)\nresponse.raise_for_status()\nprint(response.status_code)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>https<\/code> entry is still allowed to contain an <code>http:\/\/<\/code> proxy URL. It means an HTTPS request is routed through an HTTP proxy. If your endpoint is SOCKS5, install the optional support and use <code>socks5:\/\/<\/code> or <code>socks5h:\/\/<\/code> as appropriate for your client.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/requests.readthedocs.io\/en\/stable\/user\/advanced\/#proxies\" target=\"_blank\" rel=\"noopener\">Requests proxy documentation<\/a> documents the <code>http<\/code> and <code>https<\/code> mapping, proxy URL credentials, and environment variables. For a password with URL-reserved characters, encode the credential before building the URL:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from urllib.parse import quote\n\nusername = quote(\"u7abc\", safe=\"\")\npassword = quote(\"pa@ss\/#\", safe=\"\")\nproxy_url = f\"http:\/\/{username}:{password}@proxy.example.net:30007\"\n\nproxies = {\"http\": proxy_url, \"https\": proxy_url}\nresponse = requests.get(\"https:\/\/example.com\/\", proxies=proxies, timeout=30)\nprint(response.status_code)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For a reproducible test, pass <code>proxies<\/code> to the request itself. Requests can read <code>HTTP_PROXY<\/code>, <code>HTTPS_PROXY<\/code>, <code>ALL_PROXY<\/code>, and <code>NO_PROXY<\/code> from the environment, so an inherited variable can send your request through a different proxy or bypass the intended one. Inspect those variables if curl succeeds but Python still returns 407.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Success looks like <code>response.status_code<\/code> is the destination response and the script does not raise a <code>407 Client Error<\/code>. Keep <code>verify=True<\/code> for TLS checks; disabling certificate verification does not fix proxy authentication and weakens the connection.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Fix a browser<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: browsers often keep proxy settings and saved credentials outside the page you are visiting, so changing a website login will not change a proxy 407.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In Firefox, open Settings, search for <strong>proxy<\/strong>, open <strong>Connection Settings<\/strong>, and choose <strong>Manual proxy configuration<\/strong>. Enter the proxy host and port in their own fields. If the same HTTP proxy should handle HTTPS destinations, select the option to use that proxy for HTTPS as well. Do not paste the full <code>http:\/\/user:pass@host:port<\/code> string into the host field unless the browser explicitly provides a URL field.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When the proxy prompts for a login, enter the proxy username and password, not the destination website&#8217;s account. If the prompt repeats, close the affected tabs, remove the saved proxy credential for that host if your browser offers that control, and enter the values again. A stale saved password is a client-side formatting problem, not evidence that the target website rejected you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Chrome and Edge commonly use operating-system or managed network proxy settings. Check the system proxy configuration, the browser&#8217;s manual proxy settings, and any company policy or single-sign-on requirement. If the proxy advertises NTLM or Negotiate, a browser configured for a different scheme can keep prompting even when the typed password is correct.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For IP whitelist authentication, there may be no browser prompt at all. The proxy checks the public source IP of your current network. If several devices leave through one office or home gateway, the proxy sees that gateway&#8217;s public address rather than each device&#8217;s private address.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Success looks like a new private window or a fresh tab can load the test URL through the proxy without a repeated credential prompt. Test one browser profile first before changing system-wide settings.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6: Fix an IP whitelist mismatch<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: an allowlist rejects the request based on the network address it sees, even when no username or password is expected.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Confirm which authentication mode is active for this proxy endpoint. If it is <strong>user:pass<\/strong>, send the exact credentials assigned to that endpoint. If it is <strong>IP whitelist<\/strong>, add the public egress IP of the machine or gateway making the request, then wait for the provider&#8217;s normal configuration update before testing again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check these details in order:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n\n<li>The host and port belong to the same proxy or dongle.<\/li>\n\n\n<li>The allowlisted address is public, not a private address such as <code>192.168.1.20<\/code>.<\/li>\n\n\n<li>A VPN, office gateway, cloud NAT, or security appliance has not changed the source address seen by the proxy.<\/li>\n\n\n<li>The client is not sending an old username:password pair while the endpoint expects an allowlisted IP.<\/li>\n\n\n<li>The request is not bypassing the intended proxy through <code>NO_PROXY<\/code>, a browser exception, or a PAC rule.<\/li>\n\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Do not add a destination-site <code>Authorization<\/code> header as a workaround. Proxy credentials belong to the proxy hop and should be configured in the client&#8217;s proxy settings. If you operate a Raspberry Pi box with your own 4G dongles, the <a href=\"https:\/\/proxykite.com\/blog\/build-your-own-mobile-proxy\/\">guide to building a mobile proxy with 4G and Raspberry Pi<\/a> explains the surrounding hardware and routing model.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Success looks like the same one-line curl request works from the same machine and network that the application will use. If the request must run from several networks, user:pass authentication is usually easier to test than maintaining several changing allowlist entries.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Verify the fix<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Run the smallest test that matches the failing application. Keep the proxy host, port, protocol, and destination the same while changing only the authentication setup.<\/p>\n\n\n\n<figure class=\"wp-block-table ap-table\"><table><thead><tr><th>Test result<\/th><th>What it tells you<\/th><\/tr><\/thead><tbody><tr><td>DNS or connection error<\/td><td>The proxy cannot be reached yet<\/td><\/tr><tr><td>407 with <code>Proxy-Authenticate<\/code><\/td><td>The proxy was reached but did not accept usable proxy auth<\/td><\/tr><tr><td>401 from the destination<\/td><td>The proxy step succeeded; the destination wants its own login<\/td><\/tr><tr><td>2xx or expected destination response<\/td><td>The proxy authentication path works<\/td><\/tr><tr><td>TLS certificate error after auth<\/td><td>Authentication worked; investigate certificate trust separately<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After curl works, repeat the test in Python or the browser. Then check the real application with one request and a bounded timeout. This catches a common false fix: curl succeeds through the proxy, but the application is still using an old environment variable, a different port, or a separate proxy field.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/proxykite.com\/blog\/4g-proxy-farm-setup\/\">4G Proxy Farm Setup guide<\/a> covers the hardware and network setup around a larger dongle fleet. Keep authentication testing separate from rotation testing: a new mobile egress IP does not change the proxy host, port, or credential format.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting persistent 407 responses<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>407 on the first request:<\/strong> recheck the proxy host, port, and protocol. A server can be reachable on one port while a different port requires another credential or authentication policy.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>407 after adding credentials:<\/strong> inspect the format. A browser host field, curl <code>--proxy-user<\/code>, Python proxy URL, and CSV importer do not necessarily accept the same string. Use the client-specific examples above instead of moving separators at random.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>407 only when the password has symbols:<\/strong> use separate fields where possible. In a URL, percent-encode the username and password exactly once; in curl&#8217;s separate <code>--proxy-user<\/code> argument, quote the value for the shell.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>curl works but Requests fails:<\/strong> print the effective proxy-related environment variables, confirm the proxy URL has a scheme, and pass <code>proxies<\/code> directly to the request. Also check whether you intended HTTP proxy access or SOCKS5 access; SOCKS support in Requests requires its optional dependency.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Browser keeps asking for credentials:<\/strong> verify the browser or operating system is pointed at the intended proxy, clear stale saved credentials, and compare the advertised authentication scheme with what the browser supports. Corporate proxies may require integrated authentication rather than a simple user:pass prompt.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The error changed to 401:<\/strong> that is progress at the proxy layer. The request reached the destination, which is now asking for its own authentication. Configure that separately and do not put the destination credentials into proxy settings.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">FAQ<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">What does HTTP error 407 mean?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">It means a proxy refused to forward the request until the client authenticates. Read the <code>Proxy-Authenticate<\/code> header, then send the matching proxy credentials as <code>Proxy-Authorization<\/code> through the client\u2019s proxy configuration.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I fix a 407 error in curl?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Set the proxy with <code>--proxy<\/code> and the proxy login with <code>--proxy-user<\/code>, then repeat the request. If the proxy advertises a non-default scheme, use the matching curl option or <code>--proxy-anyauth<\/code> when supported.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why do I still get 407 with the correct password?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The client may be using the wrong host or port, sending credentials in the wrong field, URL-parsing a reserved password character, or authenticating from an IP that is not allowlisted. Check the response challenge and run the same endpoint with the minimal curl test.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I fix 407 with an IP whitelist instead of a password?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, when the proxy provider supports IP whitelist authentication. Add the public egress address seen by the proxy and make sure the client is using that authentication mode; a private LAN address is not the address an external proxy normally sees.<\/p>\n\n\n\n<aside class=\"ap-cta\" aria-label=\"Get your proxy working\"><div class=\"ap-cta__content\"><p class=\"ap-cta__eyebrow\">Fix Proxy Auth<\/p><p class=\"ap-cta__title\">Get your proxy working<\/p><p class=\"ap-cta__text\">Use your own 4G dongles with clear HTTP and SOCKS5 credentials, rotation, and cloud routing.<\/p><\/div><a class=\"ap-cta__btn\" href=\"https:\/\/proxykite.com\/contact\">Contact us<\/a><\/aside>\n\n\n\n<script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"What does HTTP error 407 mean?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"It means a proxy refused to forward the request until the client authenticates. Read the Proxy-Authenticate header, then send the matching proxy credentials as Proxy-Authorization through the client\u2019s proxy configuration.\"}}, {\"@type\": \"Question\", \"name\": \"How do I fix a 407 error in curl?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Set the proxy with --proxy and the proxy login with --proxy-user, then repeat the request. If the proxy advertises a non-default scheme, use the matching curl option or --proxy-anyauth when supported.\"}}, {\"@type\": \"Question\", \"name\": \"Why do I still get 407 with the correct password?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"The client may be using the wrong host or port, sending credentials in the wrong field, URL-parsing a reserved password character, or authenticating from an IP that is not allowlisted. Check the response challenge and run the same endpoint with the minimal curl test.\"}}, {\"@type\": \"Question\", \"name\": \"Can I fix 407 with an IP whitelist instead of a password?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Yes, when the proxy provider supports IP whitelist authentication. Add the public egress address seen by the proxy and make sure the client is using that authentication mode; a private LAN address is not the address an external proxy normally sees.\"}}]}<\/script>\n\n","protected":false},"excerpt":{"rendered":"Fix http error 407 with a practical checklist for proxy credentials, URL formats, IP allowlists, curl, Python requests, browsers, and verification steps.","protected":false},"author":1,"featured_media":186,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"csco_singular_sidebar":"","csco_page_header_type":"","csco_page_load_nextpost":"","footnotes":""},"categories":[6],"tags":[121,130,82,104,131],"class_list":["post-185","post","type-post","status-publish","format-standard","has-post-thumbnail","category-troubleshooting","tag-curl","tag-http-error-407","tag-proxy-authentication","tag-proxy-troubleshooting","tag-python-requests","cs-entry"],"_links":{"self":[{"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/posts\/185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/comments?post=185"}],"version-history":[{"count":2,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/posts\/185\/revisions"}],"predecessor-version":[{"id":549,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/posts\/185\/revisions\/549"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/media\/186"}],"wp:attachment":[{"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/media?parent=185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/categories?post=185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/tags?post=185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}