Skip to content

Facing Frequent 504 on upload debug symbols service #463

@Abdul-Hannan

Description

@Abdul-Hannan

OS:

  • MacOS

Platform:

  • iOS

Output of node -v && npm -v && npm ls --prod --depth=0

v8.11.2

Config:

    Sentry.config(sentryClientKey).install();
    Sentry.setRelease(releaseVersion);
    Sentry.setDist(versionCode);
    Sentry.setVersion(releaseVersion);

We have seen increasing number of 504 When script phase execution happens to upload debug symbols

"react-native-sentry": "0.38.2"

Steps to reproduce:

  • run the following as phase script in iOS build

export SENTRY_PROPERTIES=sentry.properties
../node_modules/@sentry/cli/bin/sentry-cli react-native xcode ../node_modules/react-native/scripts/react-native-xcode.sh

Actual result:

  • The following build commands failed:
    PhaseScriptExecution Upload\ Debug\ Symbols\ to\ Sentry /Users/vagrant/Library/Developer/Xcode/DerivedData/App-bkkyehhhlqleqvfjfbcylqbifcpe/Build/Intermediates.noindex/ArchiveIntermediates/App/IntermediateBuildFilesPath/App.build/Release-iphoneos/App.build/Script-BEC569C85814431085B49BF4.sh

error: API request failed
caused by: sentry reported an error: unknown error (http status: 504)

Expected result:

  • Debug symbol should upload fine, can you check whats the failure rate of your service.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions