Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

Error 503. The service is unavailable #547

Closed

Description

Hey guys, we are really sorry that we still have such kind of problem that affects you sometimes, the solution isn't very simple, so we are working on it and believe that the issue will be resolved in the near future.

Let's use this issue as a common place where we can share any news with you and you'll report us if the issue still has place for you even after architecture/hosting changes from our side (we'll let you know if any).

Relates to:

  1. Error 503. The service is unavailable #511
  2. updateCheck call stuck and returns 503 react-native-code-push#1028
  3. Error Status 503, Service unavailable on checking for update cordova-plugin-code-push#330

Thanks

Activity

  1. sergey-akhalkov commented on Dec 18, 2017

    @sergey-akhalkov
    ContributorAuthor

    Currently, we have the following plan:

    1. As you know, CodePush now is a part of AppCenter, it means that its backend is also moved to the common AppCenter backend.
    2. Due to the point above - Acquisition SDK will also point to the new AppCenter service which will be more reliable/flexible and should handle much more update requests per second, so finally 503 issue should gone away.
    3. The plan is to accomplish the changes above in the first decade of the upcoming year.
    4. So currently we are working on moving CodePush native SDKs to the AppCenter SDKs, it means that they'll be adapted to the new infrastructure, another words it will point to the new AppCenter API/Backend (exactly what I've talked above)

    Please let me know if you have any questions regarding this.

  2. Wallethub commented on Apr 18, 2018

    @Wallethub

    Hello, we've been experiencing this issue again starting at 2:13 PM UTC. Where there any changes or maintenance activity on your end?

  3. buptkang commented on Apr 18, 2018

    @buptkang
    Contributor

    Hey, we checked the log, there is one internal storage connection failure for your request. Can you make another updateCheck call, see if it works now?

  4. Wallethub commented on Apr 18, 2018

    @Wallethub

    Its still coming, it seems only on the android side.

  5. Wallethub commented on Apr 19, 2018

    @Wallethub

    Guys, any updates here? It seems to come continuously for the majority of the users on the android side.

  6. itoys commented on Apr 23, 2018

    @itoys
    Contributor

    Hi WalletHub (@Wallethub)
    Could you provide logs and/or another info that would be helpful for us?

    Thanks!

  7. Wallethub commented on Apr 28, 2018

    @Wallethub

    It's happening only for Android. We disabled the updates for a few days then enabled them back and still gave the error. Only about 40 installs made during that time.
    Now as for logs, all we have is a sentry that is thrown when "sync" method gives: status == window.top.SyncStatus.ERROR. We call this method in the success function of "checkForUpdate" method.

    A thing to mention is that the last update that worked was that of a new build. We were preparing a new package (1.4) and we needed to push a change to the current released package (1.3). This happened after the code of 1.4 has been merged into the main branch to prepare for release. So initially we decided to not release updates since they would be made against the new package, against 1.4 code. And this new package has an additional native plugin compared to the current one. But then we ran some tests and the updates worked on our internal 1.3 package and even with the release version. No issues, no crashes. So we pushed this to live and while things still work fine on our devices, we keep getting the error for almost all android users.
    And another thing to know is that the new plugin was for ios only and the ios users have no problem.

  8. itoys commented on Apr 28, 2018

    @itoys
    Contributor

    WalletHub (@Wallethub)
    As I remember, you have Cordova app, could you add syncErrback to sync call, please?
    Error from syncErrback should give to us additional info.
    API reference

    codePush.sync(syncCallback?, syncOptions?, downloadProgress?, syncErrback?);
  9. Wallethub commented on Apr 30, 2018

    @Wallethub

    That seems to be a new feature. It's not in the version of the app that is currently released, but good to know about it to include it in the next release.

  10. Wallethub commented on May 2, 2018

    @Wallethub

    Any workarounds to make the current updates work without releasing a new package with the updated plugin?

  11. itoys commented on May 3, 2018

    @itoys
    Contributor

    Sorry, but we are still not realise what a reason of a problem you've faced. We haven't seen any errors on our logs, so any logs from your side would be very helpful.

    Thanks!

  12. alexandergoncharov-zz commented on Aug 30, 2018

    @alexandergoncharov-zz
    Contributor

    Hi all,

    I'm going to close this issue for now as we haven't heard about new incidents with this issue in a while.
    Please feel free to reopen it if you have any questions or you face this issue again.

  13. komaldeep commented on Oct 7, 2019

    @komaldeep

    Hey i am receiving 503 ... and 500 sometimes for for timeout

  14. LeoLeBras commented on Jan 10, 2020

    @LeoLeBras

    It's been the same here for two days!

  15. Grohden commented on Jan 15, 2020

    @Grohden

    This service is really random, look at this:
    image

    It's totally random... at least on a curl call.
    But look at this:
    image

    On the browser it's almost deterministic, on firefox it doesn't work at all (sometimes not even a response is obtained), and using chrome on the same machine, it works.
    I would believe in a rate limit if it wasn't for the browser part.

    The URL used is this one:
    https://codepush.azurewebsites.net/updateCheck?deploymentKey=[PROBABLY_SECRET]&appVersion=1.8&packageHash=[PROBABLY_SECRET]&isCompanion=&label=&clientUniqueId=[PROBABLY_SECRET]

    And I got it from a sentry error report due our outdated app version usage..

    Could this issue please be reopened? Alexander Goncharov (@alexandergoncharov)

  16. andrei-m-code commented on Oct 13, 2020

    @andrei-m-code

    Having this issue right now..

  17. ghost locked as resolved and limited conversation to collaborators on Dec 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions