2 months ago
My application was working fine a couple hours ago and is suddenly throwing 502 and that is a major hamper to the devleopment. Can you gyus please help ?
9 Replies
2 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
2 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • about 2 months ago
2 months ago
Starting Container
INFO: Started server process [1]
INFO: Waiting for application startup.
2025-10-13 11:20:40,491 - backend.main - INFO -
Starting FastAPI application...
2025-10-13 11:20:40,492 - apscheduler.scheduler - INFO - Adding job tentatively -- it will be properly scheduled when the scheduler starts
2025-10-13 11:20:40,493 - backend.cron_scheduler - INFO -
Cron scheduler configured:
2025-10-13 11:20:40,493 - backend.cron_scheduler - INFO - - Job: Trigger Evaluation
2025-10-13 11:20:40,493 - backend.cron_scheduler - INFO - - Interval: Every 30 seconds (TESTING MODE)
2025-10-13 11:20:40,493 - backend.cron_scheduler - INFO - - Max Instances: 1 (prevents overlapping runs)
2025-10-13 11:20:40,493 - apscheduler.scheduler - INFO - Added job "Evaluate idle time triggers and create tickets" to job store "default"
2025-10-13 11:20:40,493 - apscheduler.scheduler - INFO - Scheduler started
2025-10-13 11:20:40,493 - backend.cron_scheduler - INFO -
Cron scheduler started!
2025-10-13 11:20:40,493 - backend.cron_scheduler - INFO - Next run will be in 30 seconds... (TESTING MODE)
2025-10-13 11:20:40,493 - backend.cron_scheduler - INFO - Running initial trigger evaluation on startup...
2025-10-13 11:20:40,493 - backend.cron_scheduler - INFO - ================================================================================
2025-10-13 11:20:40,493 - backend.cron_scheduler - INFO - Starting trigger evaluation cron job at 2025-10-13 11:20:40.493758
2025-10-13 11:20:40,493 - backend.cron_scheduler - INFO - ================================================================================
================================================================================
[2025-10-13 11:20:40.505086] Starting trigger evaluation...
================================================================================
And then the cron job keeps on running and its logs are all visible and working fine but I cannot seem to access the endpoint, it keeps returning the 502. So I know the backend is working fine but cannot hit any api or anything.
2 months ago
2 months ago
It got up for one request and then went back like this. I have no idea what is happening and why.
Attachments
passos
Hi, can you send a screenshot of the 502 request expanded?
2 months ago
2 months ago
Vamos manter a thread em inglês (let's keep the thread in english). Also, I would recommend opening your own help thread and first read the following documentation on common pitfalls: https://docs.railway.com/reference/errors/application-failed-to-respond.
2 months ago
Hey What do you mean by expanded? Its just straight up this page
Attachments