Coder Social home page Coder Social logo

Comments (18)

rogerluan avatar rogerluan commented on April 27, 2024 3

Hey everyone! πŸ‘‹

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?

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! ☺️ β€” Check out the PR description for steps on how to install my PR in your fastlane setup

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! ❀️

from fastlane.

percula avatar percula commented on April 27, 2024 1

Same issue here. Is there a way to increase the retry interval or number of retries?

from fastlane.

nwainwright avatar nwainwright commented on April 27, 2024 1

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?

from fastlane.

yosi-dediashvili avatar yosi-dediashvili commented on April 27, 2024

Same here, started happening somewhere around yesterday noon (EST). We release updates daily stopped working today.

from fastlane.

bvirlet avatar bvirlet commented on April 27, 2024

I had the issue this morning but not anymore. Probably a temporary issue with App Store Connect? @ArthurAlvarez can you try again?

from fastlane.

FelixLisczyk avatar FelixLisczyk commented on April 27, 2024

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.

from fastlane.

ArthurAlvarez avatar ArthurAlvarez commented on April 27, 2024

I had the issue this morning but not anymore. Probably a temporary issue with App Store Connect? @ArthurAlvarez can you try again?

I have tested it with 10 apps. It always fails at the first attempt and succeeds on a retry.

from fastlane.

TheWirv avatar TheWirv commented on April 27, 2024

My pipelines still fail consistently

from fastlane.

rogerluan avatar rogerluan commented on April 27, 2024

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 πŸ˜…

from fastlane.

sumeetp26 avatar sumeetp26 commented on April 27, 2024

Still happening. Is there any workaround or fix?

from fastlane.

rogerluan avatar rogerluan commented on April 27, 2024

FWIW I'm still seeing intermittent issues (HTTP 500) with App Store Connect API calls. You can monitor them here:

https://status.statused.com

Or more specifically here (for further downtime details): https://stats.uptimerobot.com/1kzByfnDjz/795501684

from fastlane.

nwainwright avatar nwainwright commented on April 27, 2024

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?

from fastlane.

rogerluan avatar rogerluan commented on April 27, 2024

Looks like an issue on Apple servers

from fastlane.

dcacenabes avatar dcacenabes commented on April 27, 2024

In an attempt to mitigate this, we have updated our release flows to first trigger an independent call to
ensure_version!(version_string, platform: nil, client: nil),
then we actually build the app and trigger the upload.

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.

from fastlane.

nwainwright avatar nwainwright commented on April 27, 2024

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.

from fastlane.

dcacenabes avatar dcacenabes commented on April 27, 2024

for this you need to work with the app store connect API directly.

Spaceship::ConnectAPI.token = "this_is_your_token"
app = Spaceship::ConnectAPI::App.get(app_id: "your_app_id_in_app_store_connect")
app.ensure_version!("X.Y.Z", platform: Spaceship::ConnectAPI::Platform::IOS) # X.Y.Z is the semantic version of the new release for your app

You can find information on how to authenticate in the official docs:
https://github.com/fastlane/fastlane/blob/master/spaceship/docs/AppStoreConnect.md#login

from fastlane.

nwainwright avatar nwainwright commented on April 27, 2024

Thanks @dcacenabes!

from fastlane.

ArthurAlvarez avatar ArthurAlvarez commented on April 27, 2024

I was able to mitigate the issue simply by increasing the timeout time to 60 seconds instead of 10. You can check #21741.
I hope Apple fixes the issue on their side soon. For now, that's the easiest solution.

from fastlane.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.