Skip to content

The sentry URL in the `connect-src` part of the CSP is wrong

We hit this bug when deploying on Canary gitlab-com/gl-infra/k8s-workloads/gitlab-com!1837 (merged)

image

We used to have https://sentry.gitlab.net but now have https://sentry.gitlab.net/15 the actual URL is https://sentry.gitlab.net/api/15 the api part is missing.

In the screenshot the JavaScript error is not linked to the issue here, but the Sentry client fails to report the error to the Sentry server because of the CSP.

Edited by Dominic Couture