How do Debug A Hanging Web App?

Hi Im on Mac the Web Server is Linux. When the app launches ti just hangs. It never make to the App Open event or the Session Event.

I put Msgbox in those and they never showed?

This is cgi app

Thanks

MsgBox requires that Javascript reaches the browser and can be handled. What about server logging like you’re supposed to? Do you get anything with logging instead?

Server Logging? Not sure what you mean?

The System.DebugLog and System.Log functions.

That’s running in debug mode, It works fine in the debugger.

@Tim Parnell

I just had my server guy watch for an error, and this is what he got:

[Tue Feb 27 13:41:42 2018] [warn] [client 70.91.255.193] Timeout waiting for output from CGI script /var/www/aspe.org/htdocs/xo/CEUTest/ceucertificatemailer.cgi
[Tue Feb 27 13:41:42 2018] [error] [client 70.91.255.193] Script timed out before returning headers: ceucertificatemailer.cgi

If you use System.Log you can send messages to the same place, even in production.

Now that you’ve got error messages, you can reach out to the engineers for help with what they mean :slight_smile:

@Greg O’Lone