I have set up and have been using a Google Cloud Platform virtual machine. The browser ssh (a browser tab imitating a console) used to work fine. Yesterday, the sites and API hosted on the machine became unreachable.
The GCP console dashboard shows the machine to be up and running. However, the ssh (which used to work before), is not working. On click, it opens a new window, displays messages of transferring ssh keys ...
, and then ultimately shows - An error occurred while communicating with the SSH server. Check the server and the network configuration
.
After numerous such attempts, I restarted the VM instance from the GCP console, and everything started working again. But in less than a few hours of restart, the VM has again become reachable. Also, note that (1) the ping gives positive reply, (2) Console shows VM to be running normally, (3) All web pages, and API hosted on the machine are returning 408 (Request time out), (4) Restart cures the problem for a short while, (5) ssh through gcloud also not working, indefinitely waiting for connection with the server.
Since google support is only available on a paid basis, I am stuck. Any help would be deeply appreciated.