sentry-fastlane-plugin: Sentry hangs on starting CLI..

When starting the plugin within a fastlane run a large portion of the runs hang on Starting sentry-cli... and there seems to be no way to recover.

Using sentry cli 1.35.6

About this issue

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

Most upvoted comments

If anyone else needs a short-term workaround to install an older version of sentry-cli, I’m using this in my CI system:

curl -sL https://sentry.io/get-cli/ | sed s/1.67.2/1.67.0/ | bash

If anyone else needs a short-term workaround to install an older version of sentry-cli, I’m using this in my CI system:

curl -sL https://sentry.io/get-cli/ | sed s/1.67.2/1.67.0/ | bash

Unfortunately, this doesn’t work on Bitrise, they already have the most recent version that doesn’t work 😢

I am actually using this on Bitrise successfully, via a shell script step:

#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x

echo "Installing Sentry CLI"

# The latest version, 1.67.2 (as of 2021-07-20) has started hanging, so we are using an older version for now
# See https://github.com/getsentry/sentry-fastlane-plugin/issues/39
curl -sL https://sentry.io/get-cli/ | sed s/1.67.2/1.67.0/ | bash

The new 1.69.0 has the same problem so you’ll need to update your workaround scripts to:

curl -sL https://sentry.io/get-cli/ | sed s/1.69.0/1.67.0/ | bash

Do you folks have access to Bitrise? It’s 100% reproducible on there for our builds. The Hobby plan is free, so you could try a basic app setup there in hopes of reproducing.

@bruno-garcia Sorry I forgot to mention, Fastlane was already configured to verbose logging for both of the above build logs.