yp87 / leaf2mqtt

Pull in data from the Nissan Connect platform for the LEAF and publish over MQTT
GNU General Public License v3.0
42 stars 39 forks source link

The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. #70

Closed antonhagg closed 9 months ago

antonhagg commented 9 months ago

When trying to run the docker in Google Run, it throws me this error:

Revision 'leaf2mqtt-00025-46f' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information. Logs URL: Open Cloud Logging For more troubleshooting guidance, see https://cloud.google.com/run/docs/troubleshooting#container-failed-to-start

As far as I can see, the docker is not configured to listen on any port. Is this fixable?

antonhagg commented 9 months ago

Ok, so I moved away from trying to run the docker in Google run and is now using Google Engine instead, that seems to work better.