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