502 bad gateway


How can I fix it?
fell like colab drop the connection all time, and sometimes project can’t install apt packages


Hi. I am using Google Cloud Platform on Clouderizer. I train my network for 5 minutes before “Bad Gateway” error occurs. What is the problem? Can you fix it? I used Google Colab before and also faced this issue.


Are you using GCP Pre-emptible instances or normal OnDemand instance? It would be interesting to to see the logs on GCP console -> Compute Enging -> Instance -> Stackdriver logs, when you get 502 error.



GCP Pre-emptible instance.

I will send you the log if I encounter the same thing again.