# 代理连接问题

### 问题是什么？

代理显示连接错误或配置文件显示红叉且无法启动。

![](/files/42f50857baf2ec0a649635220ef7c11c6d1cac57)

### 可能的解决方案

* 检查连接类型是否正确。
* 检查是否为IPv6代理——IPv6代理仅适用于支持IPv6的网站。
* 检查代理是否需要IP授权或用户名/密码。
* 检查代理中是否包含端口——它应如下图所示。

![](/files/db747e053d4f2c5fdeba7a30f5c6615d07a5a960)

### 代理连接测试

如果您确定以上步骤都正确但仍然无法工作，请尝试以下步骤来[测试代理连接](/documentation/chinese-documentation/dai-li-guan-li/testing-and-verifying-proxies/proxy-test.md)：

* 下载firefox：<https://www.mozilla.org/firefox/new/>
* 下载foxyproxy插件：<https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-standard/>
* 测试代理是否与firefox和foxyproxy一起工作。您可以在<https://www.whoer.net/上确认。>

#### 是否是代理相关问题？

当代理连接测试失败时，可能是代理相关问题。要进一步排查，首先通过不使用Incogniton，使用您的浏览器手动连接到您的代理，检查是否确实是代理相关问题。

* 如果您仍然无法连接，请向您的代理提供商提出此问题，并指出通过浏览器连接时您的代理无法工作。
* 如果您通过常规浏览器成功连接到您的代理，这意味着我们的服务器无法接收依赖于IP的数据。

### 代理连接解决方案

如果我们的服务器无法接收依赖于IP的数据，则必须手动设置时区、WebRTC和地理位置。请按照以下步骤操作：

{% stepper %}
{% step %}
**禁用基于IP的时区填充并手动设置**

手动定义时区（建议与代理对应）。

![](/files/fa4b8b520fa68a4027d778365998d93852e2ba8d)
{% endstep %}

{% step %}
**禁用基于IP的WebRTC公共IP填充并手动设置**

指定您将使用的代理的公共IP，或选择**禁用**模式。

![](/files/fba83bb1221f1c4fe3fe22a3f6c687c58ce27e04)
{% endstep %}

{% step %}
**禁用基于IP的地理位置填充并手动定义坐标**

手动设置坐标（建议与代理对应）或选择**阻止**模式。

![](/files/7f5b1682eec1ea6b13cade4d812a2b11097baf4e)
{% endstep %}
{% endstepper %}

{% hint style="info" %}
如果您需要更多帮助或对连接代理有任何疑问，请随时联系[Incogniton支持](https://incogniton.com/contact/)以获取帮助。
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.incogniton.com/documentation/chinese-documentation/dai-li-guan-li/testing-and-verifying-proxies/proxy-connection-issues.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
