Questions tagged [cloud-run-emulator]

5 questions
0
votes
1 answer

Access to localhost from a locally deployed Cloud Run container (through VS Code)

I am running a Cloud Run service on the Cloud Run emulator through VS Code. At some point, I need to access to data stored on a Firebase Storage local emulator (say localhost:9199). However, my Python code on Cloud Run is facing this…
DCoder
  • 93
  • 6
0
votes
0 answers

flask-sock doesn't send/receive messages on Cloud Run

If I clone Miguel Grinberg's flask-sock and run examples/clock.py I get a templates/clock.html which receives time updates every second over a web socket. If I then put a dockerfile into the project and install the dependencies I can get a…
0
votes
3 answers

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

I'm trying to deploy my API to Cloud Run but I'm stuck with this error ERROR: (gcloud.run.deploy) The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision…
0
votes
1 answer

Google Cloud Run Second Flask Application - requirements.txt issue

I have a google cloud run flask application named "HelloWorld1" already up and running however i need to create a second flask application. I followed the below steps as per documentation: 1- On "Cloud Shell Editor" clicked "<>Cloud Code" --> "New…
0
votes
1 answer

How can I dev locally with GCP Cloud Run without an IDE

Google has a Cloud Run Emulator but the only documentation I can find binds it tightly to an IDE, mostly seems to be VSCode. It seems like a strange design decision and I don't want my whole team to need to use VSCode to test…