2

I am new to GCP App engine. I am trying to make web server using flask on App engine. I tested the version of my code on localhost and it is working fine. But when I am trying to deploy it in the App Engine of GCP it is giving me this strange error "app logs". error logs

Here is my code for the flask

app.run(threaded = True, host='127.0.0.1', port=80)

Thanks!!

2
  • 1
    standard or flexible environment? Commented Feb 24, 2019 at 20:17
  • standard environment Commented Feb 24, 2019 at 20:41

1 Answer 1

3

You don't need to call app.run() in your main.py file -- App Engine will do that for you. Simply initialize the app variable in this file instead.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.