1027
Some checks failed
Clone Repository with Trojan-Go Proxy / clone_with_proxy (push) Failing after 6m37s
Some checks failed
Clone Repository with Trojan-Go Proxy / clone_with_proxy (push) Failing after 6m37s
This commit is contained in:
parent
bcab08ef32
commit
3b1e1b5029
4
.github/workflows/BBB.yml
vendored
4
.github/workflows/BBB.yml
vendored
@ -66,5 +66,5 @@ jobs:
|
|||||||
https_proxy: "socks5://127.0.0.1:1080"
|
https_proxy: "socks5://127.0.0.1:1080"
|
||||||
run: |
|
run: |
|
||||||
echo "Checking IP with proxy:"
|
echo "Checking IP with proxy:"
|
||||||
# 使用 curl 检查 IP 地址, 如果请求失败则输出提示信息,提示可能是因为代理配置有误
|
# 使用 --socks5 明确指定代理模式
|
||||||
curl -s https://httpbin.org/ip || echo "Request failed, even with proxy."
|
curl --socks5 127.0.0.1:1080 -s https://httpbin.org/ip || echo "Request failed, even with proxy."
|
||||||
|
Loading…
Reference in New Issue
Block a user