Symfony 3 #595
-
EnvironmentPHP 7.4 Description of my problemI need to install sentry on old symfony projet (3.44). Impossible to send event... I did installation 1000 times... config.yml
AppKernel
When I use sentry-symfony 3.5.4
I can't find any messages, events into my sentry account evenif I create a new project. When I use sentry-symfony 4.2.6 composer.json
I tried to debug :
Result. It seems to be a problem with the promise. I don't know if it's a bug. Do you have an idea ?
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
These kind of errors are often due to issues with the cert bundle of your machine. You need to check if you can correctly call Sentry and its domain, maybe with a simple curl call, on you server. Also, you can inject a logger into the base SDK with |
Beta Was this translation helpful? Give feedback.
-
I get the same error. I tried a curl to the DSN url and it returns a 404, but the connection is:
I tried:
Where
|
Beta Was this translation helpful? Give feedback.
-
Ok, I downgraded to 3.x and then I get this error in the logs which does indicate a certificate issue,
But I don't know how this is happening because opening the URL in the browser and through |
Beta Was this translation helpful? Give feedback.
These kind of errors are often due to issues with the cert bundle of your machine. You need to check if you can correctly call Sentry and its domain, maybe with a simple curl call, on you server.
Also, you can inject a logger into the base SDK with
\Sentry\ClientBuilder::setLogger
to see if the client logs some issues while sending.