Build is not working because of GlitchTip
Hi! Just wanted to switch to GlitchTip from Sentry with our Next.js App. But it does build our app.
Here are the debug logs:
node_modules/@sentry/cli-darwin/bin/sentry-cli releases finalize d7peTxbbetlpDA5zs600-
DEBUG 2024-10-08 10:40:52.470722 +02:00 sentry-cli version: 2.37.0, platform: "darwin", architecture: "arm64"
INFO 2024-10-08 10:40:52.471348 +02:00 sentry-cli was invoked with the following command line: "/Users/max/Development/mapstudio/node_modules/@sentry/cli-darwin/bin/sentry-cli" "releases" "finalize" "d7peTxbbetlpDA5zs600-"
DEBUG 2024-10-08 10:40:52.471525 +02:00 request PUT https://app.glitchtip.com/api/0/projects/mapstudio/mapstudio-web/releases/d7peTxbbetlpDA5zs600-/
DEBUG 2024-10-08 10:40:52.471537 +02:00 pipeline: webpack-plugin/2.22.3
DEBUG 2024-10-08 10:40:52.471547 +02:00 using token authentication
DEBUG 2024-10-08 10:40:52.471576 +02:00 json body: {"projects":["mapstudio-web"],"dateReleased":"2024-10-08T08:40:52.471498Z"}
DEBUG 2024-10-08 10:40:52.471583 +02:00 retry number 0, max retries: 0
DEBUG 2024-10-08 10:40:52.748310 +02:00 > PUT /api/0/projects/mapstudio/mapstudio-web/releases/d7peTxbbetlpDA5zs600-/ HTTP/1.1
DEBUG 2024-10-08 10:40:52.748321 +02:00 > Host: app.glitchtip.com
DEBUG 2024-10-08 10:40:52.748324 +02:00 > Accept: */*
DEBUG 2024-10-08 10:40:52.748326 +02:00 > Connection: TE
DEBUG 2024-10-08 10:40:52.748328 +02:00 > TE: gzip
DEBUG 2024-10-08 10:40:52.748330 +02:00 > User-Agent: sentry-cli/2.37.0 webpack-plugin/2.22.3
DEBUG 2024-10-08 10:40:52.748556 +02:00 > Authorization: Bearer cfa12022***
DEBUG 2024-10-08 10:40:52.748560 +02:00 > Content-Type: application/json
DEBUG 2024-10-08 10:40:52.748563 +02:00 > Content-Length: 75
DEBUG 2024-10-08 10:40:52.865329 +02:00 < HTTP/1.1 405 Method Not Allowed
DEBUG 2024-10-08 10:40:52.865345 +02:00 < Date: Tue, 08 Oct 2024 08:40:52 GMT
DEBUG 2024-10-08 10:40:52.865351 +02:00 < Content-Type: text/html; charset=utf-8
DEBUG 2024-10-08 10:40:52.865366 +02:00 < Transfer-Encoding: chunked
DEBUG 2024-10-08 10:40:52.865370 +02:00 < Connection: keep-alive
DEBUG 2024-10-08 10:40:52.865375 +02:00 < allow: DELETE, GET
DEBUG 2024-10-08 10:40:52.865378 +02:00 < vary: Accept-Language, origin
DEBUG 2024-10-08 10:40:52.865381 +02:00 < content-language: en
DEBUG 2024-10-08 10:40:52.865384 +02:00 < x-frame-options: DENY
DEBUG 2024-10-08 10:40:52.865388 +02:00 < content-security-policy: script-src 'self' https://*.glitchtip.com https://js.stripe.com https://app.chatwoot.com 'sha256-0Mfn7rrvFFIfp4wc7eyyIWdGty6Fhc4qVG7t12eqtio='; default-src 'self'; style-src-elem 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com data:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' https://*.glitchtip.com data:; frame-src 'self' https://js.stripe.com https://app.chatwoot.com; worker-src 'self' blob:; connect-src 'self' https://*.glitchtip.com https://app.chatwoot.com; report-uri https://app.glitchtip.com/api/12/security/?sentry_key=68bfd6041c90442f8376dabab513e0b0
DEBUG 2024-10-08 10:40:52.865392 +02:00 < x-content-type-options: nosniff
DEBUG 2024-10-08 10:40:52.865395 +02:00 < referrer-policy: same-origin
DEBUG 2024-10-08 10:40:52.865397 +02:00 < cross-origin-opener-policy: same-origin
DEBUG 2024-10-08 10:40:52.865400 +02:00 < strict-transport-security: max-age=15552000; includeSubDomains; preload
DEBUG 2024-10-08 10:40:52.865403 +02:00 < cf-cache-status: DYNAMIC
DEBUG 2024-10-08 10:40:52.865409 +02:00 < Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=iDZUZJUiTibATFmLNqfXiVBbd54xGNGEQ13w1YSi%2FDQtGh763mRX3q6mGSnvPPVNhPKaQD6dDfQHE1BWbX2z4AGMbtiO2jXiSmbyGXBnpt8L8HeQVIzxa9IgJOUCKjoxoUKadQ%3D%3D"}],"group":"cf-nel","max_age":604800}
DEBUG 2024-10-08 10:40:52.865413 +02:00 < NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
DEBUG 2024-10-08 10:40:52.865416 +02:00 < Server: cloudflare
DEBUG 2024-10-08 10:40:52.865418 +02:00 < CF-RAY: 8cf4d4220bb839ce-FRA
DEBUG 2024-10-08 10:40:52.865438 +02:00 response status: 405
DEBUG 2024-10-08 10:40:52.865445 +02:00 body: Method not allowed
error: API request failed
caused by: sentry reported an error: unknown error (http status: 405)
DEBUG 2024-10-08 10:40:52.865478 +02:00 skipping update nagger because session is not attended
I think this relates to #342 (closed)
Also, may there is some miss-config for PUT / POST requests on your cloudflare?
I would be happy to use GlitchTip, but this seems to not working out for now. Is there a workaround?
Edited by Maximilian P.