CGI web app crashes randomly

That suggests he had something sitting in front of the standalone which you need for virtual domain hosting or performant SSL termination. So that would also be a 500 similar to a web server except it couldn’t reach the standalone but he did mention his did not auto-restart.

It is also possible for a Xojo web app to return a 500 as that is a perfectly legal HTTP status code. It is not something that the framework does for you though when it is struggling or encountering issues. You would have had to code it that way and know to expect It.

Actually you can. If you were to make a request to HandleUrl or HandleSpecialUrl which resulted in an unhandled exception, the response would be a 500 error.

Absolutely I am sure it exists but not something you would see unless hijacking the normal flow.

I’ll give this a try, I wasn’t aware the framework might have problems with error 500, thanks!