Closed defser closed 1 year ago
You can run composer update -W sentry/sentry-laravel
which will update the underlying PHP SDK that contains a bug fix for this issue.
Working on a new Laravel release that will bump the SDK by default as well.
@cleptric I'm sorry, you are right! I did not update other dependencies. Please close this issue.
Thanks for the quick reply!
Why a simple install as documented in official guide was breaking for me? sorry not that experienced in PHP ecosystem
This depended on when you installed the SDK. We do not always bump the underlying PHP SDK on every release of the Laravel SDK and, instead, only do so if the PHP SDK contains essential updates or bug fixes. In the case of the cURL issue, we missed the mark and enforced the update in the Laravel SDK too late.
Environment
What version are you running? Production
Steps to Reproduce
After updating libcurl to 8.1.0 the Laravel SDK is not able to send events to Sentry, it fails with the following error:
[sentry-laravel] error: Failed to send the event to Sentry. Reason: "HTTP/2 stream 1 was reset for "https://o468856.ingest.sentry.io/api/5848562/envelope/".". | {"exception":{},"event":{}}
"sentry/sentry-laravel": "^3.2.0" (3.4.1)
Looks like same issue as: https://github.com/getsentry/sentry-php/issues/1537
Working environment:
Not working environment: