fastlane: upload_to_testflight Timeout received Spaceship::AccessForbiddenError: Access forbidden
New Issue Checklist
- Updated fastlane to the latest version
- I read the Contribution Guidelines
- I read docs.fastlane.tools
- I searched for existing GitHub issues
Issue Description
Fastlane exits with errors, it seems a new API rate limiter is blocking access after 25 requests,
Actual behavior:
My build jobs fail but the upload succeeds. Subsequent tasks in this job were not executed.
Expected behavior
My build job executes correctly with all tasks/steps. A warning message instead of exiting, since the upload was correct.
Command executed
bundle exec fastlane --verbose beta
Complete output when running fastlane, including the stack trace and command used
...
INFO [2020-06-30 21:56:34.91]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
INFO [2020-06-30 21:57:05.42]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
INFO [2020-06-30 21:57:35.94]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
INFO [2020-06-30 21:58:06.45]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
INFO [2020-06-30 21:58:36.87]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
INFO [2020-06-30 21:59:07.38]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
INFO [2020-06-30 21:59:37.79]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
INFO [2020-06-30 22:00:09.55]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
INFO [2020-06-30 22:00:40.05]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
INFO [2020-06-30 22:01:11.18]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
INFO [2020-06-30 22:01:42.01]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
INFO [2020-06-30 22:02:12.45]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
INFO [2020-06-30 22:02:42.94]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
INFO [2020-06-30 22:03:16.64]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:03:47.55]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:04:18.53]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:04:49.30]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:05:20.13]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:05:51.36]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:06:22.59]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:06:53.41]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:07:24.03]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:07:55.19]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:08:26.50]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:08:57.83]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:09:28.76]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:09:59.78]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:10:30.50]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:11:01.24]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:11:31.79]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:12:02.39]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:12:33.38]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:13:04.41]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:13:35.34]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:14:06.47]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:14:37.39]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:15:08.01]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:15:38.94]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:16:09.86]: Waiting for App Store Connect to finish processing the new build (3.0.2 - 2) for IOS
INFO [2020-06-30 22:16:40.58]: Successfully finished processing the build 3.0.2 - 2 for IOS
Timeout received: 'Spaceship::AccessForbiddenError', 'Access forbidden'. Retrying after 3 seconds (remaining: 4)...
Timeout received: 'Spaceship::AccessForbiddenError', 'Access forbidden'. Retrying after 3 seconds (remaining: 3)...
Timeout received: 'Spaceship::AccessForbiddenError', 'Access forbidden'. Retrying after 3 seconds (remaining: 2)...
Timeout received: 'Spaceship::AccessForbiddenError', 'Access forbidden'. Retrying after 3 seconds (remaining: 1)...
WARN [2020-06-30 22:16:55.02]: Lane Context:
INFO [2020-06-30 22:16:55.02]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :BUILD_NUMBER=>"2", :IPA_OUTPUT_PATH=>"/Users/xxx/builds/_yuGm8Bc/0/.../xxxxxxx.ipa", :XCODEBUILD_ARCHIVE=>"/Users/xxx/Library/Developer/Xcode/Archives/2020-06-30/xxx 2020-06-30 21.43.20.xcarchive", :DSYM_OUTPUT_PATH=>"/Users/xxx/builds/_yuGm8Bc/0/.../xxxxxxx.app.dSYM.zip"}
ERROR [2020-06-30 22:16:55.02]: Access forbidden
INFO [2020-06-30 22:16:55.02]: Successfully generated documentation at path '/Users/xxx/builds/_yuGm8Bc/0/.../xxxxxxx/fastlane/README.md'
+------+------------------------------+-------------+
| fastlane summary |
+------+------------------------------+-------------+
| Step | Action | Time (in s) |
+------+------------------------------+-------------+
| 1 | default_platform | 0 |
| 2 | increment_build_number | 1 |
| 3 | update_code_signing_settings | 0 |
| 4 | build_app | 164 |
| π₯ | upload_to_testflight | 1860 |
+------+------------------------------+-------------+
DEBUG [2020-06-30 22:16:55.03]: All plugins are up to date
ERROR [2020-06-30 22:16:55.03]: fastlane finished with errors </pre>
Environment
β fastlane environment β
Stack
| Key | Value |
|---|---|
| OS | 10.15.5 |
| Ruby | 2.6.3 |
| Bundler? | true |
| Git | git version 2.24.3 (Apple Git-128) |
| Installation Source | ~/builds/_yuGm8Bc/0/β¦/xxxxxxx/subdir/vendor/bundle/ruby/2.6.0/bin/fastlane |
| Host | Mac OS X 10.15.5 (19F101) |
| Ruby Lib Dir | /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib |
| OpenSSL Version | LibreSSL 2.8.3 |
| Is contained | false |
| Is homebrew | false |
| Is installed via Fabric.app | false |
| Xcode Path | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version | 11.5 |
System Locale
| Variable | Value | |
|---|---|---|
| LANG | de_AT.UTF-8 | β |
| LC_ALL | ||
| LANGUAGE |
fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
# https://docs.fastlane.tools/plugins/available-plugins
#
# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane
default_platform(:ios)
platform :ios do
desc "Push a new beta build to TestFlight"
lane :beta do
increment_build_number(xcodeproj: "xxx.xcodeproj")
update_code_signing_settings(
use_automatic_signing: false,
path: "xxx.xcodeproj")
build_app(
workspace: "xxx.xcworkspace",
scheme: "xxx",
export_options: {
provisioningProfiles: {
"at.xxxx.xxx" => "XC iOS: at.xxxx.xxx"
}
})
upload_to_testflight
git_commit(path: ["./xxx.xcodeproj"], message: "Increment build number")
version = get_version_number(
xcodeproj: "./xxx.xcodeproj",
target: "xxx"
)
add_git_tag(prefix: version + "/")
push_to_git_remote(tags: true)
sentry_upload_dsym(
auth_token: 'xxxxxx',
org_slug: 'xxxx',
project_slug: 'xxxx',
dsym_path: './xxx.app.dSYM.zip'
)
refresh_dsyms
upload_dsyms
end
lane :refresh_dsyms do
download_dsyms(output_directory: './AppStore-dSYMs')
end
lane :upload_dsyms do
sentry_upload_dsym(
auth_token: 'xxxxx',
org_slug: 'xxxx',
project_slug: 'xxxx',
dsym_path: './AppStore-dSYMs'
)
end
end
`./fastlane/Appfile`
app_identifier("at.xxxx.xxx") # The bundle identifier of your app
apple_id("xxx@yyyyyy.at") # Your Apple email address
itc_team_id("xxxx") # App Store Connect Team ID
team_id("xxxx") # Developer Portal Team ID
# For more information about the Appfile, see:
# https://docs.fastlane.tools/advanced/#appfile
fastlane gems
| Gem | Version | Update-Status |
|---|---|---|
| fastlane | 2.149.1 | β Up-To-Date |
Loaded fastlane plugins:
| Plugin | Version | Update-Status |
|---|---|---|
| fastlane-plugin-sentry | 1.6.0 | β Up-To-Date |
Loaded gems
| Gem | Version |
|---|---|
| did_you_mean | 1.3.0 |
| bundler | 2.1.4 |
| CFPropertyList | 3.0.2 |
| public_suffix | 2.0.5 |
| addressable | 2.7.0 |
| atomos | 0.1.3 |
| aws-eventstream | 1.1.0 |
| aws-partitions | 1.337.0 |
| aws-sigv4 | 1.2.1 |
| jmespath | 1.4.0 |
| aws-sdk-core | 3.102.1 |
| aws-sdk-kms | 1.35.0 |
| aws-sdk-s3 | 1.72.0 |
| babosa | 1.0.3 |
| claide | 1.0.3 |
| colored | 1.2 |
| colored2 | 3.1.2 |
| highline | 1.7.10 |
| commander-fastlane | 4.4.6 |
| declarative | 0.0.20 |
| declarative-option | 0.1.0 |
| digest-crc | 0.5.1 |
| unf_ext | 0.0.7.7 |
| unf | 0.1.4 |
| domain_name | 0.5.20190701 |
| dotenv | 2.7.5 |
| emoji_regex | 1.0.1 |
| excon | 0.75.0 |
| multipart-post | 2.0.0 |
| faraday | 1.0.1 |
| http-cookie | 1.0.3 |
| faraday-cookie_jar | 0.0.6 |
| faraday_middleware | 1.0.0 |
| fastimage | 2.1.7 |
| gh_inspector | 1.1.3 |
| jwt | 2.1.0 |
| memoist | 0.16.2 |
| multi_json | 1.14.1 |
| os | 1.1.0 |
| signet | 0.14.0 |
| googleauth | 0.13.0 |
| httpclient | 2.8.3 |
| mini_mime | 1.0.2 |
| uber | 0.1.0 |
| representable | 3.0.4 |
| retriable | 3.1.2 |
| google-api-client | 0.38.0 |
| google-cloud-env | 1.3.2 |
| google-cloud-errors | 1.0.1 |
| google-cloud-core | 1.5.0 |
| google-cloud-storage | 1.26.2 |
| json | 2.3.1 |
| mini_magick | 4.10.1 |
| multi_xml | 0.6.0 |
| plist | 3.5.0 |
| rubyzip | 1.3.0 |
| security | 0.1.3 |
| naturally | 2.2.0 |
| simctl | 1.6.8 |
| slack-notifier | 2.3.2 |
| terminal-notifier | 2.0.0 |
| unicode-display_width | 1.7.0 |
| terminal-table | 1.8.0 |
| tty-screen | 0.8.0 |
| tty-cursor | 0.7.1 |
| tty-spinner | 0.9.3 |
| word_wrap | 1.0.0 |
| nanaimo | 0.2.6 |
| xcodeproj | 1.17.0 |
| rouge | 2.0.7 |
| xcpretty | 0.3.0 |
| xcpretty-travis-formatter | 1.0.0 |
| fastlane-plugin-sentry | 1.6.0 |
generated on: 2020-06-30
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (6 by maintainers)
Thanks - both Info.plist with ITSAppUsesNonExemptEncryption and the userβs permissions as App manager worked fine.
Thanks so much for this hint with the plist entry. I did set it in another project and assumed I had it set in this one too π
Will try go increase the role permission for the CI user. Thanks again.
It seems like you have not included the output of
fastlane envTo make it easier for us help you resolve this issue, please update the issue to include the output offastlane envπ