Skip to content

Forum in maintenance, we will back soon 🙂

DigitalOcean Intern...
 
Notifications
Clear all

DigitalOcean Internal Server Error

8 Posts
3 Users
5 Reactions
566 Views
(@vlad-todwran)
Posts: 4
Active Member Customer
Topic starter
 

Hi there!

I have managed to deploy an API, but when I click on the app link, it opens a new browser tab where I get this message:

Internal Server Error

The server encountered an unexpected internal server error

(generated by waitress)

I have attached the print screen with my app.py file and the requirements file.

Thanks in advance for your assistance!


 

 
Posted : 11/05/2023 9:30 pm
Hasan Aboul Hasan
(@admin)
Posts: 1276
Member Admin
 

Did you check the console logs? to see what is the error?

 
Posted : 11/06/2023 12:14 pm
Vlad Todwran reacted
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@vlad-todwran why is the screen shot of the code redacted? I can't tell but it appears you've done something like:

from MY MODULE import SOMETHING

If you have a space as in the "MY MODULE" above then this is an error.

 

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 11/06/2023 3:32 pm
Vlad Todwran reacted
(@vlad-todwran)
Posts: 4
Active Member Customer
Topic starter
 

@admin

Hi Hasan! 

Here is the error: Failed to load resource: the server responded with a status of 500 ()

 
Posted : 11/06/2023 6:10 pm
(@vlad-todwran)
Posts: 4
Active Member Customer
Topic starter
 

@ssadvisor

Hi there, thanks for your response.

There is no space between them, the name is:  MY_MODULE

 
Posted : 11/06/2023 6:14 pm
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@vlad-todwran can you share a public Github link to the code repository?

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 11/07/2023 4:09 pm
Hasan Aboul Hasan
(@admin)
Posts: 1276
Member Admin
 

@vlad-todwran to help you, we need to see the code, and the output.

 
Posted : 11/10/2023 12:18 pm
(@vlad-todwran)
Posts: 4
Active Member Customer
Topic starter
 

Posted by: @admin

@vlad-todwran to help you, we need to see the code, and the output.

 

I've managed to resolve the issue.

Thanks for your assistance!

 

 
Posted : 11/10/2023 6:49 pm
Share:
[the_ad_group id="312"]