R
Railwayā€¢4mo 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ā€¢4mo ago
Project ID: c3acd700-57b5-4cd2-9cb4-f01d8bdda929
Brody
Brodyā€¢4mo ago
can you please share your repo
Ratatata
Ratatataā€¢4mo ago
c3acd700-57b5-4cd2-9cb4-f01d8bdda929
Ratatata
Ratatataā€¢4mo ago
No description
No description
No description
Ratatata
Ratatataā€¢4mo ago
And thats the proc file
No description
Ratatata
Ratatataā€¢4mo ago
No description
Ratatata
Ratatataā€¢4mo ago
No description
Ratatata
Ratatataā€¢4mo ago
Build logs are successful
No description
Brody
Brodyā€¢4mo ago
please use the bookmarklet to download the build logs and send them here
Brody
Brodyā€¢4mo ago
have you tried re-deploying
Ratatata
Ratatataā€¢4mo ago
Multiple times yes, restarting, redeploying šŸ˜¦
Brody
Brodyā€¢4mo ago
what's the current deployment state?
Ratatata
Ratatataā€¢4mo ago
Says its active
Brody
Brodyā€¢4mo ago
what kind of app is this
Ratatata
Ratatataā€¢4mo 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ā€¢4mo ago
Can you reach the api of it? Are you using the PORT env variable?
Ratatata
Ratatataā€¢4mo ago
It doesnā€™t have any endpoints and no env variables
Brody
Brodyā€¢4mo ago
what kind of logger are you using?
Ratatata
Ratatataā€¢4mo ago
No logs at all, just one print statement when the app starts Saying ā€œListening for messagesā€
Brody
Brodyā€¢4mo ago
can you share the link to your repo please
Ratatata
Ratatataā€¢4mo ago
Its private, what is your ghub username or email, I will add you
Brody
Brodyā€¢4mo ago
brody192
Ratatata
Ratatataā€¢4mo ago
@Brody would you be free for a quick call to try to resolve it?
Brody
Brodyā€¢4mo ago
this chat is fine, you havent shared the repo yet though?
Ratatata
Ratatataā€¢4mo ago
Upon reading a bit in google it seems like railway may be blocking telethon(telegram) connection
Brody
Brodyā€¢4mo ago
railway doesnt do anything like that, if anything it would be that telegram is blocking you