I upgraded sentry from version 1.x to the latest sentry/sdk 2.0.1. My server is an Apache running on Windows.
The exception causes a delay, I deduce, that the sentry client is trying to contact sentry.io, but with no success.
How could I go to debug sentry and see why the events are not sent.
After some search, I found out that the problem is with the SSL certs.
curl.cainfo in php.ini was missing. I found here how to install CA certificates for PHP on Windows.
This should be listed in the installation instruction or in the prerequisites for sentry, but it doesn’t seem to be.