R
Railwayā€¢9mo ago
Ratatata

Help deploying small python program

Hey, I am trying to deploy small python app, the build is successful but it doesn't run for some reason. My code is in main.py, so it just needs to do python main.py There are 0 errors and 0 logs. I have added Procfile but that didn't help either web: python main.py
28 Replies
Percy
Percyā€¢9mo ago
Project ID: c3acd700-57b5-4cd2-9cb4-f01d8bdda929
Brody
Brodyā€¢9mo ago
can you please share your repo
Ratatata
Ratatataā€¢9mo ago
c3acd700-57b5-4cd2-9cb4-f01d8bdda929
Ratatata
Ratatataā€¢9mo ago
No description
No description
No description
Ratatata
Ratatataā€¢9mo ago
And thats the proc file
No description
Ratatata
Ratatataā€¢9mo ago
No description
Ratatata
Ratatataā€¢9mo ago
No description
Ratatata
Ratatataā€¢9mo ago
Build logs are successful
No description
Brody
Brodyā€¢9mo ago
please use the bookmarklet to download the build logs and send them here
Brody
Brodyā€¢9mo ago
have you tried re-deploying
Ratatata
Ratatataā€¢9mo ago
Multiple times yes, restarting, redeploying šŸ˜¦
Brody
Brodyā€¢9mo ago
what's the current deployment state?
Ratatata
Ratatataā€¢9mo ago
Says its active
Brody
Brodyā€¢9mo ago
what kind of app is this
Ratatata
Ratatataā€¢9mo ago
listens for events and upon event and some logic, formatting etc, creates twitter post and post in a telegram channel Events are every 10-15 sec And it hasnā€™t posted in neither for the past 2 hours No errors either
Attacler/Bart
Attacler/Bartā€¢9mo ago
Can you reach the api of it? Are you using the PORT env variable?
Ratatata
Ratatataā€¢9mo ago
It doesnā€™t have any endpoints and no env variables
Brody
Brodyā€¢9mo ago
what kind of logger are you using?
Ratatata
Ratatataā€¢9mo ago
No logs at all, just one print statement when the app starts Saying ā€œListening for messagesā€
Brody
Brodyā€¢9mo ago
can you share the link to your repo please
Ratatata
Ratatataā€¢9mo ago
Its private, what is your ghub username or email, I will add you
Brody
Brodyā€¢9mo ago
brody192
Ratatata
Ratatataā€¢9mo ago
@Brody would you be free for a quick call to try to resolve it?
Brody
Brodyā€¢9mo ago
this chat is fine, you havent shared the repo yet though?
Ratatata
Ratatataā€¢9mo ago
Upon reading a bit in google it seems like railway may be blocking telethon(telegram) connection
Brody
Brodyā€¢9mo ago
railway doesnt do anything like that, if anything it would be that telegram is blocking you
Want results from more Discord servers?
Add your server