Skip to content
Need to restart the app for it to load pictures again
corfitz
OP

2 years 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.

Closed

8 Replies

corfitz
OP

2 years ago

bbae7efe-5a65-40ba-afee-cfad08d113db


maddsua

2 years ago

Do you see any errors in deploy logs?


corfitz
OP

2 years ago

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

1357352577330843932


corfitz
OP

2 years ago

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


corfitz
OP

2 years 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
OP

2 years ago

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


corfitz
OP

2 years ago

Still no errors though.. Just stopped responsding.


corfitz
OP

2 years 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...