Hello everyone,
I have been trying for the last 3 days to import my flask app for production on cpanel hosted by Planet Hoster. For my understanding, it runs with passenger and apache. I have succeed at configuring a passenger_wsgi.py file and my app can be seen in the browser.
However, as soon as I try to pass data with POST or GET method it looks like it fails with an error:
Internal Server Error:
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
I can go through some pages with some buttons that do not pass POST or GET methods and it works fine.
You can see my problem at :
[Third-Party URL removed per Forums guidelines]
All the POST and GET methods work on local flask run.
Do you have any insights on what might going on? Also, if you have used Flask, is it enough to pass by passenger_wsgi to turn it into production or should I add something ?
Thank you very much for your help.
I have been trying for the last 3 days to import my flask app for production on cpanel hosted by Planet Hoster. For my understanding, it runs with passenger and apache. I have succeed at configuring a passenger_wsgi.py file and my app can be seen in the browser.
However, as soon as I try to pass data with POST or GET method it looks like it fails with an error:
Internal Server Error:
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
I can go through some pages with some buttons that do not pass POST or GET methods and it works fine.
You can see my problem at :
[Third-Party URL removed per Forums guidelines]
All the POST and GET methods work on local flask run.
Do you have any insights on what might going on? Also, if you have used Flask, is it enough to pass by passenger_wsgi to turn it into production or should I add something ?
Thank you very much for your help.
Last edited by a moderator: