Closed alexsegura closed 5 years ago
By the way, the whole thing is wrapped in a register_shutdown_function
, because it is an email sending, which is executed during the kernel.terminate event in Symfony
Hi! sorry for the late reply! We believe this issue is related to what we are doing in #303, as you already noticed based on the fact that the PR was already linked.
This may also be the same issue that causes in #365.
Work on #303 is currently in progress and we will make sure to notify you once this is merged.
Ok thank you.
Unfortunately, due to this bug I'm unable to fully experiment DataDog APM capabilities during the 14 days free trial ☹️
Is there a workaround to disable the tracer for this part of the code?
In #365 I seen DD_INTEGRATIONS_DISABLED=curl
, would this work?
Hi! You can temporarily disable guzzle: DD_INTEGRATIONS_DISABLED=guzzle
.
For the free trial expiration please reach out to me on our public slack workspace datadoghq.slack.com
Just to clarify! We are going to look into this as soon as possible and disabling the integration is not the solution. Just a temporary workaround if you like to evaluate or use other tracer integrations.
Having the exact same issue, when I tried with any version >= 0.15.1
The issue doesn't seem to manifest in 0.13.4, which is what I ended up using temporarily, however this restricts me upgrading to Laravel 5.8
Another thing I've noticed is that not every guzzle call has this issue. In my case only one specific guzzle request failed with the above error, although all the calls are using the same classes / underlying guzzle implementation.
Thanks for reporting this as well. And useful to know that the change that broke things happened between 0.13.4 and 0.15.1. We have this in our radar and will work on it ASAP.
Hey @alexsegura! Thanks for such a detailed report - it made replicating the issue on our end much easier. I just wanted to give you an update that #284 & #303 should get rolled out into a release next week which should fix this issue. We'll let you know when the release is available! :)
Thank you @SammyK Can you please close this Issue when it is released, so that I get notified? 🙂
@alexsegura Absolutely - will do! :)
Hey @alexsegura & @Daursu! We just released 0.21.0
of the PHP tracer which should fix this issue. I'll go ahead and close this issue, but please let us know if you're still having and issue after upgrading and we can reopen. :)
Hi,
I'm using Debian & PHP 7.2 FPM
The tracer is screwing up some Guzzle calls. When I uninstall the tracer, the error goes away.
I got the error
URI must be a string or UriInterface
The code involves mailjet-apiv3-php
For a strange reason, the parameter which should be passed to
requestAsync
is changed at execution.https://github.com/mailjet/mailjet-apiv3-php/blob/346a7726f57a81819e0853dde3297eb44bf1c476/src/Mailjet/Request.php#L85-L95
Can this be related to #149, #224 & #303?
Thanks!