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

a year ago

Solved

41 Replies


tfx01
PROOP

a year ago

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


tfx01
PROOP

a year ago

😦


tfx01
PROOP

a year ago

1384619793235316806


tfx01
PROOP

a year ago

Now its taking longer to initialize


a year ago

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


tfx01
PROOP

a year ago

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


tfx01
PROOP

a year ago

We were using the api normally


tfx01
PROOP

a year ago

Do you know what is going on?


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


tfx01
PROOP

a year 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:

1384621190475284530


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.


tfx01
PROOP

a year 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

a year ago

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 😉


tfx01
PROOP

a year ago

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

1384623017514242229


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?


tfx01
PROOP

a year ago

Now its working again, we rebuilded.

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


tfx01
PROOP

a year ago

Strange, right? 😅


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?


tfx01
PROOP

a year ago

Of course! here it is:

1384624453467766794


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?


tfx01
PROOP

a year ago

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


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


tfx01
PROOP

a year 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...


a year ago

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


a year ago

Test those endpoints 😉


tfx01
PROOP

a year 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

a year ago

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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...