Need to restart the app for it to load pictures again
corfitz
HOBBYOP

a year ago

I am experiencing an issue where after some time using the app, it stops serving images. And I can't seem to find a way to debug it. At first I thought it was due to memory, but it doesn't seem to be the case now.. Not sure how to find the reason for this problem. If I then restart the app, everything works again no issue. I tis a Payload and Next.js deployment using mongo and S3 for cloud storage.

8 Replies

corfitz
HOBBYOP

a year ago

bbae7efe-5a65-40ba-afee-cfad08d113db


maddsua
HOBBY

a year ago

Do you see any errors in deploy logs?


corfitz
HOBBYOP

a year ago

No.. It just suddenly stops working, and then I restart the service, and then it works again for some time.

1357352577330843932


corfitz
HOBBYOP

a year ago

I tried to ssh into the serivce, but I can't seem to figure out where to tail logs


corfitz
HOBBYOP

a year ago

It happens suddenly, that it doesn't want to load images, and then 10 mins later, I get 502 errors for the image requests made./


corfitz
HOBBYOP

a year ago

This appears to be a bug associated with the s3 plugin for payload. I have been able to replicate this locally now.


corfitz
HOBBYOP

a year ago

Still no errors though.. Just stopped responsding.


corfitz
HOBBYOP

a year ago

I believe I have solved this problem in payload by defaulting to using s3 urls instead of proxying them through the api routes as default by Payload.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...