We’ve found an issue with ClearNode where OpenVPN is installed and started as a daemon service via “systemctl” at boot. The RedNode API software service is starting before OpenVPN and establishing it’s messaging connection to the AWS Message Hub. Subsequently OpenVPN changes the network configuration and thus trashes the connection to AWS, preventing the ClearNode mobile app from controlling the node.
The temporary solution is to put a delay into the RedNode startup sequence. Edit the /lib/systemd/system/rednode.service file and add the delay as seen below
Description=RedNode AWS client and node controller
ExecReload=/bin/kill -HUP $MAINPID
We tried making rednode.service dependent on the OpenVPN service using the “After” section above, but that didn’t seem to work. You may need to adjust the value of “sleep 15” depending on your installation.
If you need help with taking care of this don’t hesitate to get in touch.
73 … Gerry.