chore-add-network-debug
This commit is contained in:
@@ -53,6 +53,20 @@ jobs:
|
|||||||
|
|
||||||
echo "Using Proxy: $HTTP_PROXY"
|
echo "Using Proxy: $HTTP_PROXY"
|
||||||
|
|
||||||
|
- name: Debug Network
|
||||||
|
run: |
|
||||||
|
echo "Testing connection to proxy..."
|
||||||
|
curl -v http://127.0.0.1:7890 || echo "Failed to connect to 127.0.0.1:7890"
|
||||||
|
|
||||||
|
echo "Testing google via proxy..."
|
||||||
|
curl -I -x http://127.0.0.1:7890 https://www.google.com || echo "Failed to curl google"
|
||||||
|
|
||||||
|
echo "Current IP info:"
|
||||||
|
ip addr || true
|
||||||
|
|
||||||
|
echo "Clash port status (if netstat available):"
|
||||||
|
netstat -an | grep 7890 || true
|
||||||
|
|
||||||
- name: Show proxy status
|
- name: Show proxy status
|
||||||
run: |
|
run: |
|
||||||
if [ -n "$HTTP_PROXY" ] || [ -n "$http_proxy" ] || [ -n "$HTTPS_PROXY" ] || [ -n "$https_proxy" ]; then echo "proxy=on"; else echo "proxy=off"; fi
|
if [ -n "$HTTP_PROXY" ] || [ -n "$http_proxy" ] || [ -n "$HTTPS_PROXY" ] || [ -n "$https_proxy" ]; then echo "proxy=on"; else echo "proxy=off"; fi
|
||||||
|
|||||||
Reference in New Issue
Block a user