Hi,
I’m using the Sentry Docker image and the PHP-SDK.
Sentry itself is running fine but sending and error causes an 403 error. Logfile from the docker logs:
web_1 | <****local_ip****> - - [19/Dec/2017:15:28:07 +0000] "POST //api/2/store/ HTTP/1.1" 403 8076 "-" "sentry-php/1.8.1"
I tried to debug the /vendor/sentry/sentry/lib/Raven/Client.php
file by using var_dump()
for the $buffer
variable in the send_http_synchronous
function:
$buffer = curl_exec($this->_curl_instance);
and it returns:
CSRF Verification Failed
A required security token was not found or was invalid.
DSN setup:
$client = new Raven_Client('http://xxx:xxxx@localhost:9000//2');
FQDN doesn’t work either:
$client = new Raven_Client('http://xxx:xxxx@foo.bar.local:9000//2');
Any hints what I’m doing wrong?
@matt maybe?
TIA!