Solved Client portal 500 Error
When the client portal is not in use for some time and then I visit the client portal, I get this error:
Mar 07 03:26:38 172.18.0.1 - - [07/Mar/2022:09:26:38 +0000] "GET /client HTTP/1.1" 200 3734 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36"
Displays 500 error on browser as well. Immediately after it starts working. What could be the reason? I don't see any other errors in the app logs through cloudron. Cloudron Healthchecks seems to be passing right before this as well:
Mar 07 03:26:30 172.18.0.1 - - [07/Mar/2022:09:26:30 +0000] "GET / HTTP/1.1" 302 2007 "-" "Mozilla (CloudronHealth)"
@saikarthik this sounds a bit like an upstream error of the app code as such. Have you looked in their issue tracker about hints?
I wonder if this is because the 500 was sent with incorrect caching headers.
Please ignore this issue, there was some error with the underlying instance I guess. I started a new instance and everything is good.