fastlane: An exception has occurred: The transport has been detected as having stalled and has been aborted
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
[20:51:17]: Successfully exported and compressed dSYM file [20:51:17]: Successfully exported and signed the ipa file: [20:51:17]: /Users/gm/code///fastlane/archive/output_150.ipa [20:51:17]: --------------------- [20:51:17]: — Step: deliver — [20:51:17]: --------------------- [20:51:18]: Login to App Store Connect (***.com) [20:51:21]: Login successful
±-------------------------------------±---------------------------------------------------------------------------+ | deliver 2.127.0 Summary | ±-------------------------------------±---------------------------------------------------------------------------+ | force | false | | skip_screenshots | true | | skip_metadata | true | | ipa | /Users//code/*-Appstore/***fastlane/archive/output_150.ipa | | screenshots_path | ./fastlane/screenshots | | metadata_path | ./fastlane/metadata | | app_version | 7.11.1 | | username | **** | | app_identifier | ***** | | platform | ios | | edit_live | false | | use_live_version | false | | skip_binary_upload | false | | skip_app_version_update | false | | overwrite_screenshots | false | | submit_for_review | false | | reject_if_possible | false | | automatic_release | false | | phased_release | false | | reset_ratings | false | | run_precheck_before_submit | true | | precheck_default_rule_level | warn | | individual_metadata_items | [] | | ignore_language_directory_validation | false | | precheck_include_in_app_purchases | true | ±-------------------------------------±---------------------------------------------------------------------------+
[20:51:39]: Making sure the latest version on App Store Connect matches ‘****’ from the ipa file… [20:51:42]: ‘7.11.1’ is the latest version on App Store Connect [20:51:43]: Uploading binary to App Store Connect [20:51:44]: Going to upload updated app to App Store Connect [20:51:44]: This might take a few minutes. Please don’t interrupt the script. [21:51:19]: [Transporter Error Output]: An error occurred while uploading the package: 639234809.itmsp.
[21:51:19]: [Transporter Error Output]: An exception has occurred: The transport has been detected as having stalled and has been aborted. Please try again.
21:51:24: Transporter transfer failed. 21:51:24: 21:51:24: An error occurred while uploading the package: 639234809.itmsp. An exception has occurred: The transport has been detected as having stalled and has been aborted. Please try again.
21:51:24: [iTMSTransporter] [2019-07-11 21:51:24 CST] <main> DBG-X: Apple’s web service operation return value:
21:51:24: [iTMSTransporter] [2019-07-11 21:51:24 CST] <main> DBG-X: parameter EnableJWTForAllCalls = false
21:51:24: [iTMSTransporter] [2019-07-11 21:51:24 CST] <main> DBG-X: parameter SessionExpiration = 2019-07-15T13:51:22.536Z
21:51:24: [iTMSTransporter] [2019-07-11 21:51:24 CST] <main> DBG-X: parameter Success = true
21:51:24: [iTMSTransporter] [2019-07-11 21:51:24 CST] <main> DBG-X: parameter StreamingSettings = {LogStreamingEnabled=true, MultipartUploadsEnabled=true, AssetDescriptionStreamingEnabled=false}
21:51:24: [iTMSTransporter] Package Summary:
21:51:24: [iTMSTransporter] 1 package(s) were not uploaded because they had problems:
21:51:24: [iTMSTransporter] /tmp/639234809.itmsp - Error Messages:
21:51:24: [iTMSTransporter] An error occurred while uploading the package: 639234809.itmsp.
21:51:24: [iTMSTransporter] An exception has occurred: The transport has been detected as having stalled and has been aborted. Please try again.
21:51:24: [iTMSTransporter] [2019-07-11 21:51:24 CST] <main> DBG-X: Returning 1
21:51:24: iTunes Transporter output above ^ 21:51:24: An error occurred while uploading the package: 639234809.itmsp. An exception has occurred: The transport has been detected as having stalled and has been aborted. Please try again. Return status of iTunes Transporter was 1: An error occurred while uploading the package: 639234809.itmsp. \nAn exception has occurred: The transport has been detected as having stalled and has been aborted. Please try again. The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
Command executed
An error occurred while uploading the package: 639234809.itmsp.
An exception has occurred: The transport has been detected as having stalled and has been aborted. Please try again.
Return status of iTunes Transporter was 1: An error occurred while uploading the package: 639234809.itmsp.
\nAn exception has occurred: The transport has been detected as having stalled and has been aborted. Please try again.
The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
Complete output when running fastlane, including the stack trace and command used
[REPLACE THIS WITH YOUR INFORMATION]
Environment
Loaded gems
Gem | Version |
---|---|
did_you_mean | 1.0.0 |
slack-notifier | 2.3.2 |
rouge | 2.0.7 |
xcpretty | 0.3.0 |
terminal-notifier | 2.0.0 |
unicode-display_width | 1.4.0 |
terminal-table | 1.8.0 |
plist | 3.4.0 |
CFPropertyList | 3.0.0 |
public_suffix | 2.0.5 |
addressable | 2.5.2 |
multipart-post | 2.0.0 |
word_wrap | 1.0.0 |
tty-screen | 0.6.5 |
tty-cursor | 0.6.0 |
tty-spinner | 0.9.0 |
babosa | 1.0.2 |
colored | 1.2 |
highline | 1.7.10 |
commander-fastlane | 4.4.6 |
excon | 0.62.0 |
faraday | 0.15.4 |
unf_ext | 0.0.7.5 |
unf | 0.1.4 |
domain_name | 0.5.20180417 |
http-cookie | 1.0.3 |
faraday-cookie_jar | 0.0.6 |
fastimage | 2.1.5 |
gh_inspector | 1.1.3 |
mini_magick | 4.5.1 |
multi_xml | 0.6.0 |
rubyzip | 1.2.2 |
security | 0.1.3 |
xcpretty-travis-formatter | 1.0.0 |
dotenv | 2.5.0 |
bundler | 1.17.1 |
faraday_middleware | 0.12.2 |
naturally | 2.2.0 |
simctl | 1.6.5 |
jwt | 2.1.0 |
uber | 0.1.0 |
declarative | 0.0.10 |
declarative-option | 0.1.0 |
representable | 3.0.4 |
retriable | 3.1.2 |
mime-types-data | 3.2018.0812 |
mime-types | 3.2.2 |
multi_json | 1.13.1 |
signet | 0.11.0 |
memoist | 0.16.0 |
os | 1.0.0 |
googleauth | 0.6.7 |
httpclient | 2.8.3 |
google-api-client | 0.23.9 |
google-cloud-env | 1.0.5 |
google-cloud-core | 1.2.7 |
digest-crc | 0.4.1 |
google-cloud-storage | 1.15.0 |
emoji_regex | 0.1.1 |
nanaimo | 0.2.6 |
colored2 | 3.1.2 |
claide | 1.0.2 |
atomos | 0.1.3 |
xcodeproj | 1.10.0 |
json | 2.1.0 |
io-console | 0.4.5 |
libxml-ruby | 2.9.0 |
psych | 2.1.0.1 |
[REPLACE THIS WITH YOUR INFORMATION]
this my fastfile
lane :do_publish_appstore do |options|
$build_user = options[:build_user]
$build_number = options[:build_number]
if $build_number == nil
$force_start = true
$build_number = Time.now.strftime("%Y%m%d%H%M")
end
$config = YAML.load_file("config.yaml")
$bundleId = $config["bundleId"]
$scheme = $config["scheme"]
$output_dir = Dir::pwd + "/archive/"
$file_name = 'output_' + $build_number
$file_path = $output_dir + $file_name
plist = options[:ios_plist_file]
update_build_number(version: $build_number, plist: plist)
build_app(scheme: "****",
configuration:'AppStore',
output_directory: $output_dir,
output_name: $file_name,
export_method: 'app-store',
# suppress_xcode_output:true,
export_options: {provisioningProfiles: {"****" => "***"}}
)
upload_to_app_store(force: false, skip_screenshots: true, skip_metadata: true)
end
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 2
- Comments: 17 (4 by maintainers)
@simonbengtsson It might be worth checking again after re-upgrading to 2.127. I’m on 2.127.1, and it was failing for me all day yesterday, but it worked this morning. I’m pretty confident that this is entirely an issue with Apple’s transporter service, and has nothing to do with fastlane.
(I opened a bug report on feedbackassistant.apple.com titled ‘itmstransporter occasionally starts stalling and timing out for days at a time’. I believe Apple prioritizes bugs that have multiple duplicate reports, so feel free to create one of your own about this.)