> For the complete documentation index, see [llms.txt](https://docs.ipwo.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ipwo.net/gu-zhang-pai-chu/dai-li-407-cuo-wu.md).

# 代理407错误

如果在使用代理时出现：

```
407 Proxy Authentication Required
```

通常表示：\
👉 代理认证失败（用户名或密码未通过验证）

这是代理使用过程中最常见的问题之一。

***

### 🔍 常见表现

出现以下情况时，通常属于 407 错误：

* 浏览器无法打开网页
* cURL 请求失败
* 程序返回 407 错误
* 指纹浏览器 / 工具代理检测失败

***

### ⚡ 快速验证（推荐）

建议先使用以下命令测试：

```bash
curl -x "us.ipwo.net:7878" -U "username:password" ipinfo.io
```

***

#### 判断结果

* ✅ 返回 IP 信息 → 认证成功
* ❌ 返回 407 → 请继续排查

***

### 🛠 常见原因与解决方法

***

#### 1️⃣ 用户名或密码错误

这是最常见原因。

请检查：

* 用户名是否完整复制
* 密码是否正确
* 是否存在多余空格

***

#### 正确格式示例

```
username:password
```

***

#### 2️⃣ 用户名参数格式错误

动态住宅代理支持在用户名中添加参数：

```
username_custom_zone_US_sid_12345_time_10
```

如果参数拼写错误，也可能导致 407。

***

#### 常见错误

| 错误类型   | 示例                 |
| ------ | ------------------ |
| 参数拼写错误 | `zones` 写成 `zonee` |
| 参数格式错误 | 少 `_` 分隔           |
| 参数顺序异常 | 参数结构不完整            |

***

#### 3️⃣ 使用了错误的代理类型

请确认：

* 动态住宅代理
* 静态住宅代理
* 不限量带宽代理
* 不限量端口代理

使用的是对应产品的账号信息。

👉 不同产品的账号信息通常不通用

***

#### 4️⃣ 子账户状态异常

如果使用的是子账户：

请检查：

* 子账户是否已启用
* 是否被禁用
* 是否达到流量限制

***

#### 5️⃣ 工具代理类型设置错误

请确认工具中的代理协议：

* HTTP
* HTTPS
* SOCKS5

与实际使用保持一致。

***

### ⚙️ 浏览器 / 工具类使用代理时常见问题

如果在 AdsPower等浏览器中出现 407：

#### 建议检查：

* 用户名密码是否填写完整
* 是否复制了错误格式
* 是否遗漏参数
* 代理类型是否正确

👉 建议先使用 cURL 测试成功后再接入工具

***

### 💡 使用建议

* 建议直接复制代理信息，避免手动输入
* 初次测试时不要添加复杂参数
* 推荐先测试基础连接，再增加地区 / session 参数

***

### ❗ 常见问题速查

| 问题       | 原因       |
| -------- | -------- |
| 407 错误   | 用户名或密码错误 |
| 工具检测失败   | 代理协议错误   |
| 动态代理无法使用 | 参数格式错误   |
| 子账户无法使用  | 子账户被禁用   |

***

### 🆘 仍未解决？

如果问题仍未解决，请联系官方客服。（[官网](https://www.ipwo.net/)右侧在线客服）

👉 建议提供：

* 使用的代理类型
* 完整错误提示
* 测试命令截图
* 使用的工具名称

***

### 总结

407 错误本质上是：

```
代理认证失败
↓
检查账号密码
↓
检查参数格式
↓
检查代理类型
```

👉 大多数情况下，重新检查用户名格式即可解决

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ipwo.net/gu-zhang-pai-chu/dai-li-407-cuo-wu.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
