You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if it is my network issue but the relay keeps stop working after awhile for. The error is the external IP is not matching and my relay disappear on relays pool. So I made this script for the healthcheck:
healthcheck.sh:
#!/bin/bash# Fetch the current public IP
IP=$(curl -s http://checkip.amazonaws.com)# Fetch the relay data and check if the IP existsif curl -s https://relays.syncthing.net/endpoint | grep -q $IP;thenecho"Health check passed: IP $IP found in relays">> /proc/1/fd/1
exit 0
elseecho"Health check failed: IP $IP not found in relays">> /proc/1/fd/1
exit 1
fi
Is this sufficient healthcheck? Seems status port 22070 keep running and the response of /status cannot determine if the relay is still exist on the pool.
The text was updated successfully, but these errors were encountered:
Not sure if it is my network issue but the relay keeps stop working after awhile for. The error is the external IP is not matching and my relay disappear on relays pool. So I made this script for the healthcheck:
healthcheck.sh
:docker-compose.yml
healthcheck part:Is this sufficient healthcheck? Seems status port
22070
keep running and the response of/status
cannot determine if the relay is still exist on the pool.The text was updated successfully, but these errors were encountered: