If we get “Timed out while connecting to server” error when running Gunbot, the cause is clear: There is a connection problem.
In order to fix it, be sure your firewall / router allows outbound connections to port 3000, 5000 and 5001. If you are running Gunbot on a VPS, contact them and ask them to allow outbound connections to those ports. Most of VPS providers work fine with Gunbot, but in somes cases they are very restrictive.