-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deliver fails to create a new app version on App Store Connect #21705
Comments
Same here, started happening somewhere around yesterday noon (EST). We release updates daily stopped working today. |
I had the issue this morning but not anymore. Probably a temporary issue with App Store Connect? @ArthurAlvarez can you try again? |
Same issue. When I try to create the version in App Store Connect manually, I get an error that the version number is already in use. After a page reload, the new version magically appears. |
I have tested it with 10 apps. It always fails at the first attempt and succeeds on a retry. |
My pipelines still fail consistently |
This could be a legitimate issue with App Store Connect API, e.g. http 500 or timeouts. I've been monitoring ASC API on my own and noticed that it's been partially degraded for the past ~9 hours, see: https://x.com/rogerluan_/status/1734206562418258125 My monitoring system didn't detect anything prior to 9 hours ago though (e.g. 3-4 days ago everything seemed fine on their end 😬) so it could be a different issue that is impacting you guys! Just sharing what I got 😅 |
Still happening. Is there any workaround or fix? |
FWIW I'm still seeing intermittent issues (HTTP 500) with App Store Connect API calls. You can monitor them here: Or more specifically here (for further downtime details): https://stats.uptimerobot.com/1kzByfnDjz/795501684 |
Same issue here. Is there a way to increase the retry interval or number of retries? |
Same issue here. We're delivering builds via Transporter while this is going on. Is this an Apple or a fastlane issue? Any idea of what the resolution would be? |
Looks like an issue on Apple servers |
Hi @rogerluan but the chances of Apple fixing their code anytime soon are pretty low so maybe fastlane can work around it somehow? They did their 10 second retries so maybe something else needs to be incorporated? |
In an attempt to mitigate this, we have updated our release flows to first trigger an independent call to Our assumption (that might be totally wrong) is that between the call that Fastlane does to create a new version in the App Store and the call to upload metadata, there is not enough time for ASC to properly propagate the changes. We hope that by introducing a few minutes delay between the 2 operations the release will be successful. |
Hi @dcacenabes, thank you, is is this in the latest fastlane or do we need to call a special version somehow? I'm a bit of a newbie. |
for this you need to work with the app store connect API directly.
You can find information on how to authenticate in the official docs: |
Thanks @dcacenabes! |
I was able to mitigate the issue simply by increasing the timeout time to 60 seconds instead of 10. You can check #21741. |
Hey everyone! 👋
I've opened a PR that should resolve the issues you guys are seeing: #21742 @ everyone, if you wanna help (and increase the chances of your CI succeeding 😇), you can help test this PR of mine in the wild 🙇 this would be tremendously helpful and I'd be super grateful! Looking forward to hearing feedback from the community whether the proposed solution works 🙏 @ArthurAlvarez I reviewed your PR and I proposed a different solution (see PR above), I hope you're okay with that! 🙇 thank you for taking a stab at fixing this issue, though! Super helpful! ❤️ |
This is still a significant issue for us. I build hundreds of apps using Fastlane and approx. 50% of my builds fail. I'm using Fastlane version 2.219.0. |
Just ran into this issue for the first time, running my first release train of the year. Our CI release flow uploads a release build to TestFlight for internal QA and then holds on an approval job - once approved it runs the last CI job that actually submits the build for review using |
I experienced the same problem today too. I tried a second time and it worked. |
I wonder when this will be fixed, because half of the assemblies simply don’t work.... |
Currently there is no working solution to this problem. #21742 adds some retries with exponential backoff to increase the chances of your lane succeeding but it may make your CI/CD task take a long time to complete and even then it may still fail. Personally, whenever I release a new version of my app on the App Store, I am now manually creating the next app version on App Store Connect and then any subsequent lanes that upload that version will work as always. |
This issue is still not fixed (at least for Github Workflow. I'm using Fastlane version 2.219.0 (latest as of now) and I still get |
had the same issue as well with the latest fastlane version |
Still happening for me - every time I run our workflow to submit for review, it fails this way and has to be retried. The job succeeds the second time. |
New Issue Checklist
Issue Description
Deliver fails to create a new app version on App Store Connect
Command executed
Complete output when running fastlane, including the stack trace and command used
and fails with
Environment
Fastlane 2.217.0
The text was updated successfully, but these errors were encountered: