/rest/v3/short-urls?page=1&orderBy=dateCreated-DESC returning 500 error #1861
-
Shlink versionv3.6.3 PHP versionN/A How do you serve ShlinkOther (explain in summary) Database enginePostgreSQL Database version12 SummaryHi, I'm using this Docker image. I have already tried the roadrunner variant as well. I'm getting 90% 500 errors when loading recent short URLs. In the browser console, it's this request path that's returning the 500: The logs don't seem to reveal anything as to why it's returning a 500 error.
Any suggestions on how to debug this? Thanks for the software. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
Can you check the browser console and share the response payload for those 500 errors? Are you using any kind of reverse proxy? Where do you deploy/how do you run the docker container? Usually, exceptions on Shlink would be logged. If nothing shows on the logs, I suspect something else is failing between the browser and Shlink. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Ah that was it! I gave it more resources (256 MB → 1 GB) and the error went away. Thanks 😅 |
Beta Was this translation helpful? Give feedback.
-
Well actually, maybe that was a premature reply. I gave it 2 GB now and it's better but it still responds with 500 every now and then. Any other ideas? |
Beta Was this translation helpful? Give feedback.
-
Alright looks like I was able to resolve it by giving Postgres extra memory too. Closing for now, thanks again. |
Beta Was this translation helpful? Give feedback.
Alright looks like I was able to resolve it by giving Postgres extra memory too. Closing for now, thanks again.