41 Replies
a year ago
Hi! There's an ongoing incident right now where builds may take longer to deploy #🚨|incidents
a year ago
Seems like he redeployed it resulting in a new Build
a year ago
You can try aborting that build and redeploying it again
a year ago
Also, github is down so if this service of yours is linked to a repo then it will also be affected by the incident
Oh, he said to me he actually redeployed, but i want to know why the service went down, we looked at the logs in chrome devtools and it was throwing CORS, then i tried to access the api and it showed this:

a year ago
Did u follow the 'Fixing common errors' page that it suggests?
a year ago
Also, cors errors are unrelated to the platform you deploy on, you configure that on your code.
But we configured it correctly, we had that problem before and managed to make it work in our api, so its not in our side, i noticed when a service is down the request in the chrome shows CORS for some reason
It just suddenly went down, we were using the api and accessing the frontend and it was working fine.
a year ago
Anything in the logs?
a year ago
I really doubt this is related to Railway, more users would've reported this.
a year ago
But i'm willing to help you on this one if you give me some logs 😉
a year ago
and what do you mean by "it went down"?
a year ago
u receive a bad status code or a req just hangs indefinitely?
Now its working again, we rebuilded.
But what i mean by went down is that we couldn access the service.
a year ago
yep
a year ago
can you do a cntrl + k -> download deployment logs
a year ago
and paste them here for me to take a look?
Of course! here it is:
a year ago
Is it successfully connecting to the Redis instance? because according to the last logs seems like it is struggling to do so?
a year ago
Im doing reqs to your API through the included swagger docs just fine
a year ago
I'm also not receiving that application failed to respond
a year ago
What I think is happening is that some endpoint is crashing your API
Oh, so we had some crashes lately in production environment, but in railway's dashboard it was showing "CRASHED", and in the logs we spotted the problem, but this time, occurred in DEV and it had no logs, no "CRASHED" status haha...
a year ago
Maybe an unhandled error? Seems to be just fine from Railway's side
a year ago
Test those endpoints 😉
Or It could have been a temporary error, right? But thanks for the help @Medim, if it happens again i can go back to this thread?
We use NestJs and it is very robust against errors, that's why we suspect something on Railway's side.
a year ago
Sure, I will keep this thread open for some time if you have any other issue.
a year ago
!s
Status changed to Solved medim • 11 months ago

