Issue
We are seeing seemingly random timeouts in our cron monitors.
Applies To
- All Customers
- Cron Monitoring
Resolution
Firstly, ensure that you are using the latest version of your Sentry SDK. Also ensure that you are using an up-to-date method for sending check ins based on our docs. For example, our beta HTTP endpoints have been deprecated, and GA introduced new ones.
Next, make sure that you are sending both an "in progress" check in and then an "ok" or "error" one. Time outs occur when a job sent an initial check-in but failed to send a final check-in.
If you have set up all of the above but are still getting timed out check ins, the next step is to enable Sentry's debug logs (debug:true
inside your Sentry init - depends on the SDK of your choice). This will provide useful logs with insights on whether these parts of your code are being executed as expected or not.