Access to fetch at 'https://sentry.is.canonical.com/api/22/envelope/?sentry_key=901f18f8af164718b5cb34c869e6885d&sentry_version=7&sentry_client=sentry.javascript.browser%2F7.8.0' from origin 'http://polong.internal:5240' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Describe the bug
Sentry requests are being blocked by CORS policy.
Steps to reproduce
Access to fetch at 'https://sentry.is.canonical.com/api/22/envelope/?sentry_key=901f18f8af164718b5cb34c869e6885d&sentry_version=7&sentry_client=sentry.javascript.browser%2F7.8.0' from origin 'http://polong.internal:5240' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
maas-ui version 3.3.0
Additional context We might need to use a tunnel to workaround this: https://docs.sentry.io/platforms/javascript/troubleshooting/#using-the-tunnel-option