403 Forbidden while sending event to sentry


We have installed Sentry on Kubernetes using below helm chart. Haven’t changed any values we are using all default values from helm chart, but not able to send any requests to sentry. Seeing 403 Forbidden error below. Can someone please help me resolve this issue?


Sentry version - 20.12.1

Error -

DEBUG 2021-01-04 15:59:20.261773 -08:00 sentry-cli version: 1.61.0, platform: “darwin”, architecture: “x86_64”
INFO 2021-01-04 15:59:20.263395 -08:00 sentry-cli was invoked with the following command line: “sentry-cli” “send-event” “–log-level=debug” “-m” “Hello World”
DEBUG 2021-01-04 15:59:20.272590 -08:00 spawning curl transport (from sentry)
DEBUG 2021-01-04 15:59:20.272806 -08:00 client close; request transport to shut down (from sentry)
DEBUG 2021-01-04 15:59:20.272824 -08:00 shutting down http transport (from sentry)
DEBUG 2021-01-04 15:59:20.276034 -08:00 curl: > POST /api/2/store/ HTTP/1.1
Host: localhost:9000
Accept: /
X-Sentry-Auth: Sentry sentry_key=key, sentry_version=7, sentry_timestamp=1609804760.273843, sentry_client=sentry-cli/x86_64
Content-Type: application/json
Content-Length: 1825 (from sentry)
DEBUG 2021-01-04 15:59:20.276112 -08:00 curl: {“event_id”:“85814be36a5c4958b62ec7”,“logentry”:{“message”:“Hello wordl”},"__CF_USER_TEXT_ENCODING":“0x1F7:0x0:0x0”}},“sdk”:{“name”:“sentry-cli”,“version”:“1.61.0”}} (from sentry)
DEBUG 2021-01-04 15:59:20.446513 -08:00 curl: < HTTP/1.1 403 Forbidden (from sentry)
DEBUG 2021-01-04 15:59:20.448517 -08:00 curl: < Content-Type: text/html (from sentry)

Seems like there’s an issue with your Relay routing as this request should go to Relay, not Sentry Web. This is why you are getting the error.

You may want to file an issue over at the sentry-kubernetes repo as this is not something we maintain.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.