Wondering how to fix OnApp “Connection to server timed out”? We can help you.
OnApp is a cloud platform that allows both enterprises and cloud service providers to build and run public, private, and hybrid clouds, content delivery networks, and perform infrastructure management and disaster recovery.
Here at Bobcares, we handle requests from our customers to fix similar errors as a part of our Server Management Services.
Today we will see how our Support Engineers fix this for our customers.
How to fix OnApp “Connection to server timed out”
Before going into the steps for fixing this error we will see what causes this error.
Cause:
Generally, this error is seen when a transaction fails.
The cause for this error can either be the server being offline or not accessible from the CP server.
A typical error looks like the one given below:
Fatal: Connection to server timed out
Steps to fix the error:
Now, we will see how our Support Engineers fix this error for our customers.
1. Firstly, we need to check connectivity from the CP to the HV server.
2. if the connectivity is fine we can SSH from the CP to HV.
We can use the following command for this:
sudo onapp ssh root@<HV IP>
If the server mentioned has no resolvers or is unable to access the outside world, it could be taking too long to allow the SSH connection.
3. Now, we need to SSH into the HV
4. And edit /etc/ssh/sshd_config
Here we have to set “UseDNS no”
5. Finally, we need to restart sshd.
/etc/init.d/sshd restart
If it is a cloudboot server, the commands to change the file and restart sshd have to be added to the custom config.
[Need assistance? We can help you]
Conclusion
To conclude, we saw the steps that our Support Engineers follow to fix this error for our customers.
0 Comments