Loading...
Loading...
Compare original and translation side by side
proxychains4http://127.0.0.1:9910proxychains4http://127.0.0.1:9910undefinedundefinedundefinedundefinedundefinedundefined
**场景 2: Python pip 安装失败**
```bash
**场景 2: Python pip 安装失败**
```bash
**场景 3: npm/yarn 安装失败**
```bash
**场景 3: npm/yarn 安装失败**
```bash
**场景 4: wget/curl 下载失败**
```bash
**场景 4: wget/curl 下载失败**
```bash
**场景 5: Docker 拉取镜像失败**
```bash
**场景 5: Docker 拉取镜像失败**
```bash
**场景 6: SSH 连接失败**
```bash
**场景 6: SSH 连接失败**
```bashundefinedundefinedhttp://127.0.0.1:9910~/.proxychains/proxychains.conf/etc/proxychains.confhttp://127.0.0.1:9910~/.proxychains/proxychains.conf/etc/proxychains.confmkdir -p ~/.proxychains
cat > ~/.proxychains/proxychains.conf << 'EOF'mkdir -p ~/.proxychains
cat > ~/.proxychains/proxychains.conf << 'EOF'undefinedundefinedundefinedundefinedundefinedundefinedIF 命令返回网络相关错误(timeout, connection refused, DNS failure)
THEN 自动使用 proxychains4 重试该命令IF 命令返回网络相关错误(超时、连接被拒绝、DNS解析失败)
THEN 自动使用 proxychains4 重试该命令IF 访问以下域名/服务:
- github.com
- raw.githubusercontent.com
- pypi.org
- npmjs.org
- registry.npmjs.org
- docker.io
- gcr.io
THEN 直接使用 proxychains4(不等待失败)IF 访问以下域名/服务:
- github.com
- raw.githubusercontent.com
- pypi.org
- npmjs.org
- registry.npmjs.org
- docker.io
- gcr.io
THEN 直接使用 proxychains4(不等待失败)IF proxychains4 命令也失败
THEN 提示用户:
1. 检查代理服务是否运行(127.0.0.1:9910)
2. 检查 proxychains 配置文件
3. 尝试其他代理地址IF proxychains4 命令也失败
THEN 提示用户:
1. 检查代理服务是否运行(127.0.0.1:9910)
2. 检查 proxychains 配置文件
3. 尝试其他代理地址undefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefined
**错误 2: "timeout"**
```bash
**错误 2: "timeout"**
```bash
**错误 3: "can't read configuration file"**
```bash
**错误 3: "无法读取配置文件"**
```bashundefinedundefinedundefinedundefinedundefinedundefineddynamic_chain # 自动跳过死代理
[ProxyList]
http 127.0.0.1 9910
http 127.0.0.1 8080
socks5 127.0.0.1 1080dynamic_chain # 自动跳过死代理
[ProxyList]
http 127.0.0.1 9910
http 127.0.0.1 8080
socks5 127.0.0.1 1080random_chain
chain_len = 2 # 随机选择 2 个代理
[ProxyList]
http 127.0.0.1 9910
socks5 127.0.0.1 1080
socks5 127.0.0.1 1081random_chain
chain_len = 2 # 随机选择 2 个代理
[ProxyList]
http 127.0.0.1 9910
socks5 127.0.0.1 1080
socks5 127.0.0.1 1081undefinedundefinedundefinedundefinedreferences/proxychains.confreferences/troubleshooting.mdreferences/quick-reference.mdreferences/proxychains.confreferences/troubleshooting.mdreferences/quick-reference.mdproxychains4proxychains4http://127.0.0.1:9910proxychains4proxychains4http://127.0.0.1:9910