getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
37.08k stars 3.98k forks source link

500 Internal Error While Uploading dSYMs.zip IOS Chunks #70040

Closed rojinebrahimi closed 1 week ago

rojinebrahimi commented 2 weeks ago

Environment

self-hosted (https://develop.sentry.dev/self-hosted/)

What are you trying to accomplish?

I am trying to upload debug files for IOS in Sentry via sentry-cli using the version 2.31. 1

How are you getting stuck?

I get an 500 Internal Error message while uploading:

pt-src 'self' 'unsafe-inline' 'report-sample'; media-src ; style-src 'unsafe-inline' ; img-src blob: data: *; worker-src 'none'; font-src 'self' data:
  DEBUG   2024-04-30 23:03:54.981419049 +03:30 < x-envoy-upstream-service-time: 259
  DEBUG   2024-04-30 23:03:54.981825002 +03:30 response status: 500
  DEBUG   2024-04-30 23:03:54.981886852 +03:30 body: {"detail":"Internal Error","errorId":"4a42d8758a81436b848357190dffff95"}
  DEBUG   2024-04-30 23:03:57.634295571 +03:30 request POST https://<ADDRESS>/api/0/organizations/snapp/chunk-upload/
  DEBUG   2024-04-30 23:03:57.638837622 +03:30 sending form data
  DEBUG   2024-04-30 23:03:57.640006731 +03:30 using token authentication
  DEBUG   2024-04-30 23:03:57.646812791 +03:30 retry number 0, max retries: 5
  DEBUG   2024-04-30 23:03:57.678475297 +03:30 > POST /api/0/organizations/snapp/chunk-upload/ HTTP/1.1
  DEBUG   2024-04-30 23:03:57.686825096 +03:30 > Host: <ADDRESS>
  DEBUG   2024-04-30 23:03:57.687612648 +03:30 > Accept: /
  DEBUG   2024-04-30 23:03:57.688371498 +03:30 > Connection: TE
  DEBUG   2024-04-30 23:03:57.689182636 +03:30 > TE: gzip
  DEBUG   2024-04-30 23:03:57.689955300 +03:30 > User-Agent: sentry-cli/2.31.1
  DEBUG   2024-04-30 23:03:57.690822565 +03:30 > Authorization: Bearer sntrys_e***
  DEBUG   2024-04-30 23:03:57.691467594 +03:30 > Content-Length: 7772236
  DEBUG   2024-04-30 23:03:57.692042948 +03:30 > Content-Type: multipart/form-data; boundary=------------------------0449cee8d4e2081b

I have already configured Sentry upload-url-prefix:

system.upload-url-prefix: <ADDRESS>

Here is my symbolicator configuration:

cache_dir: "/data"
bind: "0.0.0.0:3021"
logging:
  level: "info"
connect_to_reserved_ips: true
# metrics:
#   statsd: ""
# sentry_dsn: ""
# caches:
#   downloaded:
#     max_unused_for: 1w
#     retry_misses_after: 5m
#     retry_malformed_after: 5m
#   derived:
#     max_unused_for: 1w
#     retry_misses_after: 5m
#     retry_malformed_after: 5m
#   diagnostics:
#     retention: 1w

Would you please help me with this?

Where in the product are you?

Unknown

Link

No response

DSN

No response

Version

No response

getsantry[bot] commented 2 weeks ago

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] commented 2 weeks ago

Routing to @getsentry/product-owners-issues-source-maps for triage ⏲️

kahest commented 1 week ago

Hey @rojinebrahimi which version of Sentry are you running? Also, did it work with a previous version of sentry-cli <2.31.0? Can you try?

rojinebrahimi commented 1 week ago

Hey @rojinebrahimi which version of Sentry are you running? Also, did it work with a previous version of sentry-cli <2.31.0? Can you try?

Hey @kahest! Thank you for responding. Well the Sentry version is 24.2.0. I could resolve the issue by checking the S3 configurations. Uploading an avatar was tested and failed. Thus, I figured that the issue was its S3 configurations.

I am closing the issue.