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

10 months 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

10 months ago

bbae7efe-5a65-40ba-afee-cfad08d113db


maddsua
HOBBY

10 months ago

Do you see any errors in deploy logs?


corfitz
HOBBYOP

10 months ago

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

1357352577330844000


corfitz
HOBBYOP

10 months ago

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


corfitz
HOBBYOP

10 months 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

10 months 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

10 months ago

Still no errors though.. Just stopped responsding.


corfitz
HOBBYOP

10 months 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.


Loading...