microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.46k stars 2.6k forks source link

AppCenterDistributeV3 Deploying: keep getting "503 Service Temporarily Unavailable" #15404

Closed zoli13 closed 2 years ago

zoli13 commented 2 years ago

Issue

We use App Center Distribute v3 Task in our VSTS, to upload our Xamarin builds to App Center for testing purpose. Yesterday it suddenly stopped working, with error, and after 1 day, it still fails with this "temporary" error:

Agent version: 2.153.1

Initialize job succeeded <1s Download Artifacts succeeded 41s

DEV Deploy 1 error 1s "<html>\r\n<head><title>503 Service Temporarily Unavailable</title></head>\r\n<body>\r\n<center><h1>503 Service Temporarily Unavailable</h1></center>\r\n<hr><center>nginx/1.15.10</center>\r\n</body>\r\n</html>\r\n" http response code: 503

PROD Deploy skipped TEST Deploy skipped UAT Deploy skipped Finalize Job succeeded

Error Details

2021-10-14T05:20:52.3781640Z ##[section]Starting: DEV Deploy 2021-10-14T05:20:52.3967880Z ============================================================================== 2021-10-14T05:20:52.3968040Z Task : App Center distribute 2021-10-14T05:20:52.3968080Z Description : Distribute app builds to testers and users via Visual Studio App Center 2021-10-14T05:20:52.3968120Z Version : 3.160.2 2021-10-14T05:20:52.3968160Z Author : Microsoft Corporation 2021-10-14T05:20:52.3968200Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/app-center-distribute 2021-10-14T05:20:52.3968240Z ============================================================================== 2021-10-14T05:20:54.0728310Z ##[error]"<html>\r\n<head><title>503 Service Temporarily Unavailable</title></head>\r\n<body>\r\n<center><h1>503 Service Temporarily Unavailable</h1></center>\r\n<hr><center>nginx/1.15.10</center>\r\n</body>\r\n</html>\r\n" http response code: 503 2021-10-14T05:20:54.0781960Z ##[section]Finishing: DEV Deploy

Additional info The tasks run on a Mac. Last time we used succecssfully was 3 days ago. Other tasks (nuget/build android/ios/etc) run fine, but the App Center distribute fails at step Deploying. Since last successful run, the mac had a macOS update: macOS Catalina -> macOS Big Sur (latest) Just mentioning this, as this is the only thing what has changed, no idea if any connection, but should not.

YAML steps: - task: AppCenterDistribute@3 displayName: 'DEV Deploy' inputs: serverEndpoint: appcenterM2 appSlug: 'xxxxx/xxxxxx' appFile: '$(System.DefaultWorkingDirectory)/xxxxxx.iOS build/Ad-Hoc_DEV/Ad-Hoc/DEV/xxxxxx.iOS/bin/iPhone/Ad-Hoc/xxxx.ipa' symbolsIncludeParentDirectory: false releaseNotesInput: 'DEV - Ad-Hoc' isSilent: false

Question, Bug, or Feature?
Bug

Enter Task Name: AppCenterDistribute (V3 )

Environment

GeorgeDarakchiev commented 2 years ago

We were also getting this error on the 14th of October, but today (15th) the error is "connect ETIMEDOUT 52.177.49.80:443". We have not changed anything in our pipelines or environment for few months. Can this be related to the AppCenter-CLI version 2.6.0 and lower are deprecated ?

kwacks commented 2 years ago

We're seeing the same issue, all releases to app center are failing with connect ETIMEDOUT 52.177.49.80:443. AppCenter CLI latest works though but would mean updates to our release pipeline. Any fix coming?

imrepapp commented 2 years ago

https://status.appcenter.ms/

Update - upload.appcenter.ms url has been discontinued - please use file.appcenter.ms instead.

Please update appcenter-cli, Jenkins and Fastlane plugins and App Center ADO Distribute task to the latest version if you have issues with distribution.

More information: http://aka.ms/appcenteruploadurl Oct 15, 14:02 UTC

otro678 commented 2 years ago

Having the same issue with on-premises server.

The issue is that task version is old, it says 3.160.2. Don't know how to update it, though. Task's name specifies only the major version: AppCenterDistribute@3.

This extension is installed, but it haven't updated the task version.

Does anybody have any ideas on this?

otro678 commented 2 years ago

UPD: for anyone having the issue with the AppCenter distribution since Oct 15 - install the extension and specify MsAppCenter.app-center-distribute-v3.custom-build-release-task.AppCenterDistribute@3 instead of just AppCenterDistribute@3 in your YAML.

johnborges commented 2 years ago

@sergeyotro Shouldn't specifying AppCenterDistribute@3 just pull the latest 3.x.x?

otro678 commented 2 years ago

I was thinking the same, but in practice it didn't.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days