You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Bug:
GoAlert hangs if there's an error early during the startup process. This problematic condition makes it difficult to troubleshoot, as the process hangs indefinitely and doesn't print the actual error for admin to investigate. Moreover, even though it is hanged, the bound address allows health checks to connect. However, those health checks will hang too as the HTTP handler isn't fully registered due to incomplete startup.
Steps to Reproduce:
Go to 'app/runapp.go'.
Add an early return with an error message as follows:
Observe that the logs show config loaded and hang indefinitely without printing the Listening message.
Expected Behavior:
If there's an error during the startup process, the system shouldn't hang and should report the error accurately to enable efficient troubleshooting. Furthermore, health checks should either fail or complete rather than hanging indefinitely.
Observed Behavior:
When there's an error during the startup process, the system hangs, doesn't print any error, and makes health checks hang indefinitely, making it difficult for an admin to troubleshoot the issue.
Application Version:
This issue is observed in the current master version of GoAlert.
Additional Context:
The start-up issue specifically happens when there's an early return error during the startup process.
The text was updated successfully, but these errors were encountered:
Describe the Bug:
GoAlert hangs if there's an error early during the startup process. This problematic condition makes it difficult to troubleshoot, as the process hangs indefinitely and doesn't print the actual error for admin to investigate. Moreover, even though it is hanged, the bound address allows health checks to connect. However, those health checks will hang too as the HTTP handler isn't fully registered due to incomplete startup.
Steps to Reproduce:
Go to 'app/runapp.go'.
Add an early return with an error message as follows:
Start the GoAlert system.
Observe that the logs show config loaded and hang indefinitely without printing the Listening message.
Expected Behavior:
If there's an error during the startup process, the system shouldn't hang and should report the error accurately to enable efficient troubleshooting. Furthermore, health checks should either fail or complete rather than hanging indefinitely.
Observed Behavior:
When there's an error during the startup process, the system hangs, doesn't print any error, and makes health checks hang indefinitely, making it difficult for an admin to troubleshoot the issue.
Application Version:
This issue is observed in the current master version of GoAlert.
Additional Context:
The start-up issue specifically happens when there's an early return error during the startup process.
The text was updated successfully, but these errors were encountered: