Forums

Flask Application Deployment Issue - "Something went wrong :-("

I'm currently facing an issue while attempting to deploy my Flask application (flask==2.2.2). Whenever I reload the app, it consistently returns an error message stating "Something Went Wrong."

Here are the steps I've taken to troubleshoot the problem:

Checked the error logs: Surprisingly, the error logs were empty, providing no helpful information.

Examined the server logs: The server logs indicated that permissions were denied. To address this, I used the chmod a+x command on the main.py file. However, even after reloading the application, the issue persists.

It's worth mentioning that my application solely relies on Flask, and I haven't installed any additional modules or dependencies.

At this point, I'm at a loss regarding the cause of the problem. If anyone has encountered a similar issue or has any insights, I would greatly appreciate your assistance in resolving this matter.

Thank you in advance for your help!

I see your web app loads now, does it mean you solved the issue?