Sentry: django.request: Forbidden (CSRF cookie not set.): /sentry/api/2/store/

Created on 27 Sep 2018  路  2Comments  路  Source: getsentry/sentry

05:32:10 [WARNING] django.request: Forbidden (CSRF cookie not set.): /sentry/api/2/store/ (status_code=403 request=<WSGIRequest: POST u'/sentry/api/2/store/'>)
200.220.7.5 - - [27/Sep/2018:05:32:10 +0000] "POST /sentry/api/2/store/ HTTP/1.1" 403 6029 "-" "sentry-php/1.9.1"

I am using following versions, it gives me the above access log.
latest sentry-symfony
sentry 9.0.0
symfony4

my dns setting should be correct.

SENTRY_DSN=http://*:**@200.220.4.3:9000/sentry/2

Most helpful comment

Sounds like your DSN is just wrong. The extra /sentry/ bit in there will be wrong.

All 2 comments

Sounds like your DSN is just wrong. The extra /sentry/ bit in there will be wrong.

Thanks @mattrobenolt . Its works for me

Change the DSN to http://*:@200.220.4.3:9000/2 and it will works!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Leroygirl picture Leroygirl  路  3Comments

dkarlovi picture dkarlovi  路  4Comments

sul4bh picture sul4bh  路  3Comments

chavlin picture chavlin  路  3Comments

codekitchen picture codekitchen  路  3Comments