Problem description: When I deploy python repls they fail promotion with the last thing being a Hostingpid1 message.
Expected behavior: I press deploy and python web server starts.
Actual behavior: I press deploy and promotion fails.
Steps to reproduce: I’m not sure if it is reproduceable, but I ha e tried making a blank python repl and creating a flask server with ghostwriter ti test, and that fails in the same way.
Browser:I hqve tried chrome and firefox, but I assume all.
OS:I have tested deployments on windows and android
@rexhall welcome to the forums!
Can you please provide a link to the repl? This way it is easier for staff and members of the community to help you!
Also see this guide on how to share your code:
To share your code with others, you can simply link to your repl or paste and format the code into your post!
Linking to a repl
The easiest way to share your code is by linking to your repl. You can find the link by clicking on your repl title, clicking on Cover page, and clicking the button to copy the URL.
NOTE: only share repl join links or use the invite button with people you trust!
Sharing short code samples
Share a snippet of your code by wrapping it in backti…
Luckily, this is an error we’ve encountered before. Please feel free to review this forum post if you haven’t already for troubleshooting ideas and assistance:
I’m getting an error: hostingpid1: an open port was not detected when trying to deploy my repl.
Repl link/Link to where the bug appears:
Screenshots, links, or other helpful context:
I’ve looked through this, and I cant seem to resolve my issue.
Part of that forum includes the troubleshooting guide and a calendar link you can use to book a debugging session. Please feel free to get additional help as needed:
hi, i already check the troubleshooting guide and set my app to listen to 0.0.0.0 but still the same i have this error hostingpid1: an open port was not detected i didnt configure any port in one of my file
Try to test to see if the site is up within 5 seconds, this was the issue with one of my repls. If not, see if there is an older version of the code that worked that you can revert to.