Deploy to Bitrise fails with 500 internal error

This step has been working fine. The archive and export step prior works fine.

Extraxct of log:

The ipa path is now available in the Environment Variable: BITRISE_IPA_PATH (value: /Users/vagrant/deploy/ [REDACTED] Dev.ipa)
The xcodebuild archive log path is now available in the Environment Variable: BITRISE_XCODEBUILD_ARCHIVE_LOG_PATH (value: /Users/vagrant/deploy/xcodebuild-archive.log)
The xcodebuild -exportArchive log path is now available in the Environment Variable: BITRISE_XCODEBUILD_EXPORT_ARCHIVE_LOG_PATH (value: /Users/vagrant/deploy/xcodebuild-export-archive.log)
|                                                                              |
+---+---------------------------------------------------------------+----------+
| ✓ | xcode-archive@3                                               | 5.7 min  |
+---+---------------------------------------------------------------+----------+
| Update available: 3 (3.3.2) -> 4.0.4                                         |
|                                                                              |
| Release notes are available below                                            |
| https://github.com/bitrise-steplib/steps-xcode-archive/releases              |
+---+---------------------------------------------------------------+----------+
                                          ▼
+------------------------------------------------------------------------------+

| (6) deploy-to-bitrise-io@2.0                                                 |
+------------------------------------------------------------------------------+
| id: deploy-to-bitrise-io                                                     |
| version: 2.0.1                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2021-10-28T11:47:49Z                                                   |
+------------------------------------------------------------------------------+
|                                                                              |
Config:
- BuildURL: https://app.bitrise.io/build/0ef0b185-eac2-4b3e-ac2a-9bd003ba88ac
- APIToken: [REDACTED]
- IsCompress: false
- ZipName: 
- DeployPath: /Users/vagrant/deploy
- NotifyUserGroups: everyone
- NotifyEmailList: 
- IsPublicPageEnabled: true
- PublicInstallPageMapFormat: {{range $index, $element := .}}{{if $index}}|{{end}}{{$element.File}}=>{{$element.URL}}{{end}}
- PermanentDownloadURLMapFormat: {{range $index, $element := .}}{{if $index}}|{{end}}{{$element.File}}=>{{$element.URL}}{{end}}
- BuildSlug: 0ef0b185-eac2-4b3e-ac2a-9bd003ba88ac
- TestDeployDir: /var/folders/g2/xnd8hpjs50v433gfrybz2nxh0000gn/T/test_results007142806
- AppSlug: 059c4892a87c1185
- AddonAPIBaseURL: [REDACTED]
- AddonAPIToken: [REDACTED]
- DebugMode: false
- BundletoolVersion: 1.8.1
Deploying the content of the Deploy directory separately
List of files to deploy
- /Users/vagrant/deploy/ [REDACTED] Dev.dSYM.zip
- /Users/vagrant/deploy/ [REDACTED] Dev.ipa
- /Users/vagrant/deploy/ [REDACTED] Dev.xcarchive.zip
- /Users/vagrant/deploy/export_options.plist
- /Users/vagrant/deploy/xcodebuild-archive.log
- /Users/vagrant/deploy/xcodebuild-export-archive.log
Deploying files
Uploading file: /Users/vagrant/deploy/ [REDACTED] Dev.dSYM.zip
creating artifact
  file size: 14MB
uploading artifact
finishing artifact
Uploading ipa file: /Users/vagrant/deploy/ [REDACTED] Dev.ipa
analyzing ipa
  ipa infos: map[app_title: [REDACTED] Dev build_number:3.11.1.600 bundle_id:[REDACTED] device_family_list:[1] min_OS_version:12.0 version:3.11.1]
creating artifact
  file size: 58MB
uploading artifact
finishing artifact
1 attempt failed
2 attempt failed
3 attempt failed
deploy failed, error: failed to finish ipa artifact, error: failed to create artifact on bitrise, status code: 500, response: {"status":500,"error":"Internal Server Error"}
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | deploy-to-bitrise-io@2.0 (exit code: 1)                       | 25.07 sec|
+---+---------------------------------------------------------------+----------+
| Issue tracker: ...thub.com/bitrise-steplib/steps-deploy-to-bitrise-io/issues |
| Source: https://github.com/bitrise-steplib/steps-deploy-to-bitrise-io        |
+---+---------------------------------------------------------------+----------+

OK, this appears to have been a temporary glitch. After two failing builds things work again now.

I apologize for the inconvenience and am glad things are working again!

Please let us know if you hit this again.

Thanks

1 Like