Our dev api is not up, but prod is working fine. Also it shows nothing in the logs in the dashboard
tfx01
PROOP

9 months ago

Solved

41 Replies


tfx01
PROOP

9 months ago

Hey guys, we are presenting the site for a client and we need it to be up


tfx01
PROOP

9 months ago

😦


tfx01
PROOP

9 months ago

1384619793235316700


tfx01
PROOP

9 months ago

Now its taking longer to initialize


9 months ago

Hi! There's an ongoing incident right now where builds may take longer to deploy #🚨|incidents


tfx01
PROOP

9 months ago

But we were not building it, it just went down, then my colleague restarted


tfx01
PROOP

9 months ago

We were using the api normally


tfx01
PROOP

9 months ago

Do you know what is going on?


9 months ago

Seems like he redeployed it resulting in a new Build


9 months ago

You can try aborting that build and redeploying it again


9 months 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


tfx01
PROOP

9 months ago

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:

1384621190475284500


9 months ago

Did u follow the 'Fixing common errors' page that it suggests?


9 months ago

Also, cors errors are unrelated to the platform you deploy on, you configure that on your code.


tfx01
PROOP

9 months ago

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


tfx01
PROOP

9 months ago

It just suddenly went down, we were using the api and accessing the frontend and it was working fine.


9 months ago

Anything in the logs?


9 months ago

I really doubt this is related to Railway, more users would've reported this.


9 months ago

But i'm willing to help you on this one if you give me some logs 😉


tfx01
PROOP

9 months ago

Logs were normal in railway, nothing wrong ahaha, thats why its so strange

1384623017514242300


9 months ago

and what do you mean by "it went down"?


9 months ago

u receive a bad status code or a req just hangs indefinitely?


tfx01
PROOP

9 months ago

Now its working again, we rebuilded.

But what i mean by went down is that we couldn access the service.


tfx01
PROOP

9 months ago

Strange, right? 😅


9 months ago

yep


9 months ago

can you do a cntrl + k -> download deployment logs


9 months ago

and paste them here for me to take a look?


tfx01
PROOP

9 months ago

Of course! here it is:

1384624453467766794


9 months ago

Is it successfully connecting to the Redis instance? because according to the last logs seems like it is struggling to do so?


tfx01
PROOP

9 months ago

Asked my colleague that made that redis feature, he said its working fine


9 months ago

Im doing reqs to your API through the included swagger docs just fine


9 months ago

I'm also not receiving that application failed to respond


9 months ago

What I think is happening is that some endpoint is crashing your API


tfx01
PROOP

9 months ago

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…


9 months ago

Maybe an unhandled error? Seems to be just fine from Railway's side


9 months ago

Test those endpoints 😉


tfx01
PROOP

9 months ago

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?


tfx01
PROOP

9 months ago

We use NestJs and it is very robust against errors, that's why we suspect something on Railway's side.


9 months ago

Sure, I will keep this thread open for some time if you have any other issue.


9 months ago

!s


Status changed to Solved medim 9 months ago


Loading...