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