deployment keeps waking up
artivilla
HOBBYOP

a year ago

How do i tell why the nextJS application keeps waking up?

Solved

6 Replies

artivilla
HOBBYOP

a year ago

attaching screenshot

Attachments


chandrika
EMPLOYEE

a year ago

Hi, could you please elaborate? The screenshot shows a backend error that has failed the deployment


Status changed to Awaiting User Response Railway 12 months ago


artivilla
HOBBYOP

a year ago

the web app is a nextjs app. I put it on serverless mode but you'll notice the entire right hand side panel is the web app sleeping and resuming. Is that how its' supposed to be? Idk if that's even saving any costs if it keeps waking up every 20 mins. the backend error is a diff issue I've asked for help in another thread.


Status changed to Awaiting Railway Response Railway 12 months ago


chandrika
EMPLOYEE

a year ago

You could check for any outbound traffic or telemetry that might be preventing the application from staying asleep in the HTTP logs and make sure no unnecessary network requests or database connections are active, as these can prevent the service from sleeping. Additionally, could you review the application's telemetry settings, especially for Next.js because that could be waking it up as well.


Status changed to Awaiting User Response Railway 12 months ago


artivilla
HOBBYOP

a year ago

likely telemetry for posthog or sentry. will look into reducing those calls to longer duration if possible.


Status changed to Awaiting Railway Response Railway 11 months ago


chandrika
EMPLOYEE

a year ago

Great! Going to solve this but let us know if you have any more questions!


Status changed to Awaiting User Response Railway 11 months ago


Status changed to Solved chandrika 11 months ago


Loading...