Flask App update deployment issue
davebecherer2003
PROOP

2 years ago

I've been working on revamping a flask app that makes api calls to an llm provider (mistral and openai) a vectordb and uses mysql. I have aversion that I deployed 18 days ago that works fine, and my new version that has new routes and features runs fine locally. when i deploy it, the build publishes with no errors or issues. however, when I put it up, it was failing in routes but not giving me any logging. I tried to configure gunicorn logging to be more verbose (gpt showed me to pipe flask logging through it), but now when I deploy i'm unable to access any of the html files - the / route is saying url unavailable as well as the other routes. However in the build / deploy log it shows all my routes one by one. since i can't get anything to happen beyond that I've got no logs to tell me whats going on, and i dont know if its a dependency issue, or env. issue. I rolled back to the version I deployed 18 days ago, but the other instances are still available in the history. can someone give me some tips?

Solved

3 Replies

ray-chen
EMPLOYEE

2 years ago

Hey, I'm going to un-private your thread so that the community can chip in.

Could you check if you're logging to stdout?


brody
EMPLOYEE

2 years ago

additional question, are you deploying with a dockerfile?


ray-chen
EMPLOYEE

2 years ago

Closing this out as there have been no response.


Status changed to Solved Railway almost 2 years ago


Loading...