sentry-react-native: Facing Frequent 504 on upload debug symbols service

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.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 5
  • Comments: 16 (7 by maintainers)

Most upvoted comments

@Abdul-Hannan This is an issue with sentry.io itself, we are aware of it and working on a bugfix.