-
I installed Swiftwave on a Hetzner instance with 8 GB of RAM around 2 days ago and am really enjoying the experience. However I've noticed that every morning so far, the Docker Swarm manager goes "offline" and stays that way until I restart Swiftwave. At some point, the message "failed to fetch docker manager due to no online swarm manager" was displayed. Luckily restarting Swiftwave has worked fine without disturbing the running applications yet, but how should I proceed to debug the issue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Okay, in the server logs it seemed to go offline about 2 hours ago, and this corresponded with thousands of lines like this in the error log:
|
Beta Was this translation helpful? Give feedback.
Hi
Sometimes switwave marks the server as offline.
The reason is - we have a ssh pool implementation to communicate with other server + self with lower overhead.
Sometimes due to change in cloud provider end (gateway flush or restart) this ssh connection hanged up. However we have mechanism to recover from that state. But it take couple of minutes.
We are moving the ssh based implementation to grpc that will fix it because previous many attempt to make it perfect has been failed.
For now, if you see the error, in sidebar > Manage System , you will get option to restart swiftwave. Click that , it will take hardly 10s to restart and the issue will be fixed.