Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when filesystem migration to s3, /api/repplay error 502 #3438

Closed
vaynevayne opened this issue Nov 24, 2024 · 3 comments
Closed

when filesystem migration to s3, /api/repplay error 502 #3438

vaynevayne opened this issue Nov 24, 2024 · 3 comments

Comments

@vaynevayne
Copy link

vaynevayne commented Nov 24, 2024

my step is

docker compose down
// edit sentry/config.yml
docker compose --env-file .env.custom up

some times

docker compose down
// edit sentry/config.yml
./install.sh

problem : replay menu has red error alert and /api/replay response http code 502

Self-Hosted Version

24.8.0

CPU Architecture

x86_64

Docker Version

26.1.4

Docker Compose Version

2.27.1

Steps to Reproduce

filestore.backend: 'filesystem'
filestore.options:
  location: '/data/files'
dsym.cache-path: '/data/dsym-cache'
releasefile.cache-path: '/data/releasefile-cache'

# filestore.backend: 's3'
# filestore.options:
#   access_key: 'AKIXXXXXX'
#   secret_key: 'XXXXXXX'
#   bucket_name: 's3-bucket-name'

replace to

# filestore.backend: 'filesystem'
# filestore.options:
#   location: '/data/files'
# dsym.cache-path: '/data/dsym-cache'
# releasefile.cache-path: '/data/releasefile-cache'


filestore.backend: "s3"
filestore.options:
  bucket_acl: "private"
  default_acl: "private"
  access_key: "****"
  secret_key: "****"
  bucket_name: "my-bucket"
  region_name: "auto"
  endpoint_url: "http://******.net" # If you're not using AWS.
  addressing_style: "auto" # For regular AWS S3, use "auto" or "virtual". For other S3-compatible API like MinIO or Ceph, use "path".
  signature_version: "s3v4"

Expected Result

work well

Actual Result

replay ui with red error
replay api throw 502

Event ID

No response

then i clearup data, recreate admin account, replay ui is ok, and send a replay by feedback, but can't show any replay or feedback
Image

@csvan
Copy link

csvan commented Nov 28, 2024

Likely related: #2721

@aldy505
Copy link
Collaborator

aldy505 commented Dec 9, 2024

Was resolved in Discord, the problem is on their S3 storage connection, very infrastructure-specific.

@csvan
Copy link

csvan commented Dec 9, 2024

@aldy505 I see, but any chance some details can be shared? I am dealing with a similar problem, we also use AWS to host both Sentry and the corresponding s3 bucket.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Archived in project
Development

No branches or pull requests

3 participants