microsoft / appcenter-cli

Command-line Interface (CLI) for Visual Studio App Center
https://appcenter.ms/
MIT License
582 stars 235 forks source link

Not found :Correlation ID #869

Closed phanthelam closed 4 years ago

phanthelam commented 4 years ago

I'm facing the new errors : Error: Command 'codepush release-react -a {onwername}/{appname} -d Production' failed with exception "Not found. Correlation ID: 7fc49f82-dd05-4a54-9d8c-c9dda93c1bb2"

anotherandersson commented 4 years ago

I’m experiencing something similar after running:

appcenter distribute release -f <file> -a <app> --token <token> --quiet --disable-telemetry --debug --group <distribution-group> --silent

Error returned:

Using version 2.5.2.

yujincat commented 4 years ago

@phanthelam can you check the ownername is correctly set? It should not be the display name, but the actual name. If you want to check the ownername of the app, appcenter apps list and it should show in a form of <ownername>/<appname>.

yujincat commented 4 years ago

@anotherandersson it might be unrelated issue as a different command

phanthelam commented 4 years ago

@yujincat thanks bro, It's owner name not display name :(

yujincat commented 4 years ago

@phanthelam I can see that the latest command you triggered succeeded with the right parameter. :-D Let me know if you still have the issue!

NedyUdombat commented 4 years ago

Hi @yujincat I am facing this same issue on Appcenter on an android app with react-native. It started after I had to re-authenticate the Appcenter application with Github.

...
File upload succeed.
Upload '/Users/runner/work/1/a/build' to file container: '#/10375163/build'
Associated artifact 42 with build 61
##[section]Async Command End: Upload Artifact
##[section]Finishing: Publish build
##[section]Starting: Create distribution
==============================================================================
Task         : App Center distribute
Description  : Distribute app builds to testers and ***s via Visual Studio App Center
Version      : 3.173.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/app-center-distribute
==============================================================================
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
##[error]"{\"message\":\"Not found. Correlation ID: 2537050c-2702-4d1c-8f6d-429aa164a22b\",\"statusCode\":404,\"code\":\"Not Found\"}"
http response code: 404
##[section]Finishing: Create distribution
##[section]Starting: Checkout git-f1fc1215-869e-4364-8a7c-a612b04f47e3@dev to s
==============================================================================
Task         : Get sources
Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
Version      : 1.0.0
Author       : Microsoft
Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
==============================================================================
Cleaning any cached credential from repository: git-f1fc1215-869e-4364-8a7c-a612b04f47e3 (ExternalGit)
##[section]Finishing: Checkout git-f1fc1215-869e-4364-8a7c-a612b04f47e3@dev to s
##[section]Starting: Finalize Job
Cleaning up task key
Start cleaning up orphan processes.
Terminate orphan process: pid (7467) (java)
Terminate orphan process: pid (7441) (java)
Terminate orphan process: pid (6077) (java)
##[section]Finishing: Finalize Job
##[section]Finishing: Build
...

Please do you have any idea on how to fix this?

xuangong commented 4 years ago

Hi @yujincat I am facing this same issue on Appcenter on an android app with react-native. It started after I had to re-authenticate the Appcenter application with Github.

...
File upload succeed.
Upload '/Users/runner/work/1/a/build' to file container: '#/10375163/build'
Associated artifact 42 with build 61
##[section]Async Command End: Upload Artifact
##[section]Finishing: Publish build
##[section]Starting: Create distribution
==============================================================================
Task         : App Center distribute
Description  : Distribute app builds to testers and ***s via Visual Studio App Center
Version      : 3.173.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/app-center-distribute
==============================================================================
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:8794) Warning: Use Cipheriv for counter mode of aes-256-ctr
##[error]"{\"message\":\"Not found. Correlation ID: 2537050c-2702-4d1c-8f6d-429aa164a22b\",\"statusCode\":404,\"code\":\"Not Found\"}"
http response code: 404
##[section]Finishing: Create distribution
##[section]Starting: Checkout git-f1fc1215-869e-4364-8a7c-a612b04f47e3@dev to s
==============================================================================
Task         : Get sources
Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
Version      : 1.0.0
Author       : Microsoft
Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
==============================================================================
Cleaning any cached credential from repository: git-f1fc1215-869e-4364-8a7c-a612b04f47e3 (ExternalGit)
##[section]Finishing: Checkout git-f1fc1215-869e-4364-8a7c-a612b04f47e3@dev to s
##[section]Starting: Finalize Job
Cleaning up task key
Start cleaning up orphan processes.
Terminate orphan process: pid (7467) (java)
Terminate orphan process: pid (7441) (java)
Terminate orphan process: pid (6077) (java)
##[section]Finishing: Finalize Job
##[section]Finishing: Build
...

Please do you have any idea on how to fix this?

I met the same issue. And found I changed the username in appcenter portal, which caused username dismatched. I got fixed now.

feruzm commented 4 years ago

I got fixed now.

@xuangong how?

mpiffari commented 3 years ago

I've the same issue.

I've checked the matching between Appcenter owner name and the one set in Azure release.yml file. They are the same. Someone else has some other fix to try?

AnastasiaKubova commented 3 years ago

Hi, @Piffo ! Thanks for getting in touch with us! Could you please clarify which command is causing this issue?

mpiffari commented 3 years ago

Hi @AnastasiaKubova, the issue appear when the Azure sys launch the "Deploy */.ipa to Visual Studio App Center" command.

AnastasiaKubova commented 3 years ago

@Piffo does this only happen on Azure? If you try to perform this command locally, does it work correctly?

mpiffari commented 3 years ago

@AnastasiaKubova Do you mean to run the command on AppCenter CLI? Otherwise, I don't know how to run locally this command.

AnastasiaKubova commented 3 years ago

@Piffo, could you please share the full error which you get with the correlation id value?

Dat0318 commented 3 years ago

i have the same issues. can you check it for me @AnastasiaKubova , thanks [Error] Not found. Correlation ID: a44d52bb-1e80-46bf-b1b8-4453b2d050cd i have error when i rename application with command line code-push rn JoJoAndorid JoJoAndroid and give this error. i try to make application run but not found and i can do anythings with app.

Jamminroot commented 3 years ago

Hey @Dat0318, I've checked the correlation ID you provided, and it looks like server reported lack of permissions to perform operation. Can you check whether CLI works now, and provide fresh Correlation ID if it does not?

Dat0318 commented 3 years ago

Thanks for your help. It have run since I wore comment for you after one day. It run automatically.

On Mon, Apr 12, 2021, 6:02 PM Dmitrii Chichuk @.***> wrote:

Hey @Dat0318 https://github.com/Dat0318, I've checked the correlation ID you provided, and it looks like server reported lack of permissions to perform operation. Can you check whether CLI works now, and provide fresh Correlation ID if it does not?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/microsoft/appcenter-cli/issues/869#issuecomment-817715869, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKUQBWZAGXUGC3BOZMQHMU3TILHNLANCNFSM4M5RHQNA .

Jamminroot commented 3 years ago

Glad to hear that! Feel free to reopen the issue (or open another one) whether you feel like having us assist you.

lilvip9999 commented 3 years ago

{\"message\":\"Not found. Correlation ID: a17a3a4b-cf90-4c58-b6a3-f7ba47c66fc7\",\"statusCode\":404,\"code\":\"Not Found\"}"

I've the same issue @Jamminroot : can u help me

Jamminroot commented 3 years ago

Hey @lilvip9999, sure. I've checked logs, and see the error you got.

There seem to be an issue earlier with your application (perhaps ownership transfer or something like that), which now causes an error like this (I removed actual values):

"Could not find app for user ID '{USER_ID_REMOVED}' and slug name '{APP_NAME_REMOVED}"

Troubleshooting would likely require sharing some sensitive information, so you can open an intercom ticket through the portal (top-right corner):

image

lilvip9999 commented 3 years ago

@Jamminroot : yes, my project just changed ownership transfer, and login new apple account, and now can't create Release after run Pipeline, it show error above.

Jamminroot commented 3 years ago

Yeah, makes sense. Reach out to folks in intercom, they should be aware how to resolve the problem iirc.

w0m4n commented 3 years ago

Going into Distribute Builds from App Center and removing the Collaborator's tag and then re-adding Collaborator's from the destination search and saving solved this issue for us.

Screen Shot 2021-07-09 at 5 08 56 pm
juliancorrea commented 3 years ago

I realized this issue when I had transferred the app to organization... Deactivate, save, and activate the Distribute builds solved the problem.

chenop commented 2 years ago

Here is what AppCenter support send me about this issue:

Could you please open the branch configuration, disable the Distribution service and click on "Save". Then open the branch configuration again and enable Distribution service, then select the distribution group from the drop down menu and click on "Save & Build".

ciarancolgan commented 2 months ago

@Jamminroot same issue happening for us today, repeated deployment attempts, even with code that deployed successfully a few days ago. No changes to ownership, and we are pushing via the CLI (from ADO) so nothing to change in AppCenter itself I believe, so i dont think any of the fixes in the threads above applies to us. Would you be able to give us more details using the correlation id below? Many thanks!

Error: {"message":"Not found. Correlation ID: f9a44ba0-fce3-41b5-b32f-cea00db60d84","statusCode":404,"code":"Not Found"}

Jamminroot commented 2 months ago

I am no longer maintaining AppCenter SDKs and CLI. @DordeDimitrijev, can you have a look?

ciarancolgan commented 2 months ago

Thanks, never mind, I'll contact App Center support and leave you in peace! :)