CG1018 restarts periodically
Symptom
Relay Box restarts every 33.3 minutes. Depending on the settings it may result in alarm signal being generated by the unit.
Cause
There is the following part in the config file.
PING_URL="http://www.google.com"
PING_REATTEMPTS=5
PING_TIMEOUT=20
#How many seconds to wait for server to respond before aborting, and how many tries
SERVER_TIMEOUT=1
SERVER_TRIES=8
#How many retries of getting data from Service-URL before it reboots
MAXIMUM_RETRIES_BEFORE_REBOOT=100It pings the PING_URL and reboots the unit after 2000 s if the ping is unsuccesful.
In a network with blocked Internet access, the device will not be able to ping the default PING_URL which is "http://www.google.com" and will reboot regularly.
Solution
Change the PING_URL to a URL that can be accessed. Also check if it answers to ping as this can be blocked.
In case you want to use IP enter PING_URL="http://IP_ADDRESS" e.g. PING_URL="http://192.168.61.252".
Last updated
