user5526048
user5526048

Reputation: 11

Server timeout and sftp timeout. What to do?

Since 12h the website (Wordpress website) that is hosted on Google Cloud Platform has a time out issue. After 60 seconds of trying to load the website, the following message appears "The connection has timed out".

When trying to connect with SFTP, same issue.

What should I do to resolve this?

Upvotes: 0

Views: 7776

Answers (1)

GalloCedrone
GalloCedrone

Reputation: 5067

Since two different services stopped to work at the same time it sounds like a networking issue. There is a timeout, therefore there is the server not answering at all to the requests.

What to do?

I would proceed with this general troubleshooting steps, if you want you can upload your question with the result of these commands/question to proceed with the troubleshooting.

  • First of all I would check if you are able to ping the external/public IP of the instance.

  • I would check if the firewall rules allows TCP80/TCP443 and TCP22, Notice that on GCP you need to create the rule and assign the TAG to the machine from its detail page if the the rule does not apply to the whole network.

  • Are you able to ssh into the instance?

  • I would check if the processes are actually listening netstat -tuplen

  • If you are able when logged into the machine do you have access to the internet? Are you able to ping external IP? If not whats about internal IP?

  • I would go to the "activity" page of your Google Cloud Console to check which actions have been taken while the instance was still running.

  • I would check as well the history of the Linux machine to check if you run some commands acting on the network configuration of the machine.

Note that if you cannot SSH into the machine you can always access through serial console setting a password for your username through a startup script.

UPDATE

I had the possibility to take a look into the project, the machine was stopped due to issue with the billing account (it was closed) after the free trial period ended.

I would suggest you to go again trough the documentation regarding the upgrade of the billing account

If you have still some doubts or question after you perform this operations you can file a case at this link with the billing team and they will help you to solve the issue.

Upvotes: 1

Related Questions