#Can't reached DB

14 messages · Page 1 of 1 (latest)

viral dagger
#

Hello, I wanna ask why this server is crash and cant connect to db? I have request but why my db not active? I was make sure if the url db is correct, and 5 minutes ago I still can request to backend and when I made request again suddenly its cant. Is any something wrong on railway? please help me. thank u

viral dagger
#

@sand monolith

misty prawn
#

is this because DB is in sleep mode?

scenic umbra
#

Hey @viral dagger, please don't ping the team as per the #🛂|readme. Your database should wake up even with private networking as per the docs. However, as mentioned in the caveats of serverless, in some extreme cases, you may need to rebuild your database to wake it up.

Slept services still consume a slot on our infrastructure, enabling Serverless de-prioritizes your workload and in remote cases, may require a rebuild to re-live the service.

viral dagger
limber violet
viral dagger
#

Yeaa, i copy url db from database_public_url

#

The problem that i dont know is I can still access it from frontend in a few minutes before but when I want to access again it throw crashed suddenly even though Iam not work on backend or railway

limber violet
#

why would you access the db from the frontend?

viral dagger
#

I have restart the backend but havent try restart the db. I will try it

viral dagger
#

And i realize the problem is from db