debug
Some checks failed
Check Flake / check-flake (push) Has been cancelled

This commit is contained in:
2026-02-25 00:22:07 -08:00
parent 96a6007693
commit ffce43b8d0

View File

@@ -151,7 +151,11 @@ in
reservePortForward() { reservePortForward() {
local payload_and_signature local payload_and_signature
echo "Requesting port forward signature from $WG_HOSTNAME..." if [[ -z "''${PIA_TOKEN:-}" ]]; then
echo "ERROR: PIA_TOKEN is empty" >&2
return 1
fi
echo "Requesting port forward signature from $WG_HOSTNAME (token length: ''${#PIA_TOKEN})..."
payload_and_signature=$(curl -s -m 5 $(proxy_args) \ payload_and_signature=$(curl -s -m 5 $(proxy_args) \
--connect-to "$WG_HOSTNAME::$WG_SERVER_IP:" \ --connect-to "$WG_HOSTNAME::$WG_SERVER_IP:" \
--cacert "${caPath}" \ --cacert "${caPath}" \