Reputation: 11
I have deployed NLP project on Heroku server. If I am going to test the webapp by entering the fields, then I get 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.
This app is successfully running on localhost. I don't know what happens after deployment.
Can anyone help?
Here is the screen shot of build
[
Here is the code of app.py file
This is the code of spam_classifier.py
These are requirements which I put on requirements.txt
Upvotes: 0
Views: 1527
Reputation: 31
If you check the Application Logs in heroku you will find this error "Error R14 (Memory quota exceeded)" due to which you are getting the Internal Server Error after deploying the project on Heroku.
Upvotes: 0
Reputation: 1
It seems like your build got successfully deployed but you are getting the internal server error while you are consuming the API.So you will have to check the application log instead of the build log. To see that, in the heroku dashboard go to more>>logs. For every request that you make, you will be able to see the logs and hence the runtime errors if there are any.
Few other suggestions
Upvotes: 0