-
-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to send events after update libcurl to v8.1.0 #1537
Comments
The problem is in with values And RFC for HTTP/2 specifies https://httpwg.org/specs/rfc9113.html#rfc.section.8.2.2 Its connected to curl lib as on 8.1.0 we got error
and before is was ok
But still php http client should not add invalid headers as curl seems to be more strict(?) |
Can confirm - either remove TE headers, or switch protocol to 1.1 in
|
I opened an issue over at https://github.com/php-http/client-common/ |
When code reaches DecoderPlugin, the protocol is set to 1.1, it is only switched to HTTP2 at CurlHttpClient, after the TE headers are already set
In my opinion, the CurlHttpClient should verify it can switch to HTTP2 with the headers, or manage them accordingly after switching to HTTP2, but it is up to debate. |
Appreciate the feedback, but let’s move this over to the repository in question. |
We released v3.19.1 that enforces HTTP/1.1 if compression is enabled. |
if someones stumbles on the issue and upgrade to v3.19.1 is not helping then try to update symfony/http-client to v 5.4.16 at minimum.
problem it is done upon request so setting default options as |
After updating libcurl to 8.1.0 the Laravel SDK is not able to send events to Sentry, it fails with the following error:
The PHP SDK also fails to send events, but silently.
https://github.com/curl/curl/releases/tag/curl-8_1_0
https://github.com/curl/curl/releases/tag/curl-8_0_1
Current workaround: downgrade to v8.0.1.
The text was updated successfully, but these errors were encountered: