Error trying to configure msstore-cli in my circleci environment
Les mainteneurs répondent en général sous 4 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- À l'abandon
- Stack technique
- csharp
- Domaine
- authentication, cli
Piste de recherche
Commencez par CredentialManagerUnix.WriteCredentialLinux à la ligne 289, puis examinez CLIConfigurator.ConfigureAsync à la ligne 278 et reproduisez la commande de reconfiguration signalée dans un environnement Ubuntu de CircleCI. Le travail est terminé lorsque la commande stocke les identifiants sans l’erreur d’adresse « /dev/null » et se termine correctement.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
I am running this command in my circleci pipeline
msstore reconfigure --tenantId $TENANT_ID --sellerId $SELLER_ID --clientId $CLIENT_ID --clientSecret $CLIENT_SECRET
Even after confirming that my secrets are correct and installing the msstore-cli, I get this error.
I am using the circleci ubuntu image (default)
__ __ _ __ _
| \/ | (_) ___ _ __ ___ ___ ___ / _| | |_
| |\/| | | | / __| | '__| / _ \ / __| / _ \ | |_ | __|
| | | | | | | (__ | | | (_) | \__ \ | (_) | | _| | |_
|_| |_| |_| \___| |_| \___/ |___/ \___/ |_| \__|
____ _ ____
/ ___| | |_ ___ _ __ ___ | _ \ ___ __ __
\___ \ | __| / _ \ | '__| / _ \ | | | | / _ \ \ \ / /
___) | | |_ | (_) | | | | __/ | |_| | | __/ \ V /
|____/ \__| \___/ |_| \___| |____/ \___| \_/
____ _ ___
/ ___| | | |_ _|
| | | | | |
| |___ | |___ | |
\____| |_____| |___|
Use of the Microsoft Store Developer CLI is subject to the terms of the
Microsoft Privacy Statement: https://aka.ms/privacy
You might need to provide some credentials to call the Microsoft Store APIs.
Let's start!
Unhandled exception: MSStore.API.MSStoreException: Failed to write credential
---> MSStore.API.MSStoreException: Failed to write credential: Domain: '137' - Code: '13' - Message: 'Address element “/dev/null” does not contain a colon (:)'
at MSStore.CLI.Services.CredentialManager.Unix.CredentialManagerUnix.WriteCredentialLinux(String userName, String secret) in /_/MSStore.CLI/Services/CredentialManager/Unix/CredentialManagerUnix.cs:line 289
--- End of inner exception stack trace ---
at MSStore.CLI.Services.CredentialManager.Unix.CredentialManagerUnix.WriteCredentialLinux(String userName, String secret) in /_/MSStore.CLI/Services/CredentialManager/Unix/CredentialManagerUnix.cs:line 293
at MSStore.CLI.Services.CLIConfigurator.ConfigureAsync(Boolean askConfirmation, Nullable`1 tenantId, String sellerId, Nullable`1 clientId, String clientSecret, CancellationToken ct) in /_/MSStore.CLI/Services/CLIConfigurator.cs:line 278
at MSStore.CLI.Commands.ReconfigureCommand.Handler.InvokeAsync(InvocationContext context) in /_/MSStore.CLI/Commands/ReconfigureCommand.cs:line 78
at System.CommandLine.NamingConventionBinder.CommandHandler.GetExitCodeAsync(Object returnValue, InvocationContext context)
at System.CommandLine.NamingConventionBinder.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at MSStore.CLI.Program.<>c.<<Main>b__0_2>d.MoveNext() in /_/MSStore.CLI/Program.cs:line 229
--- End of stack trace from previous location ---
at System.CommandLine.Hosting.HostingExtensions.<>c__DisplayClass1_0.<<UseHost>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
Exited with code exit status 1
Exited with code exit status 1
- Langage dominant
- C#
- Étoiles
- 163
- Forks
- 22
- Merge moyen
- 5 j 22 h
- PR mergées (30 j)
- 7
Préparer son environnement
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de microsoft/msstore-cli
-
Linux: settings.json (SellerId/TenantId/ClientId) not visible to any subsequent msstore invocation after reconfigure, despite file being correctly writtenPeut-être pris @isourabh l’a pris il y a 20 jours. Ouverte
microsoft/msstore-cli#181 · 2 commentaires · 1 réaction · 2 personnes assignées ·
Les mainteneurs répondent en général sous 4 jours
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
microsoft/msstore-cli#179 ·
Les mainteneurs répondent en général sous 4 jours
-
Concurrent msstore invocations crash with an unhandled IOException on telemetrySettings.jsonPeut-être pris @isourabh l’a pris il y a 27 jours. Ouvertebug
microsoft/msstore-cli#176 · 1 réaction · 2 personnes assignées ·
Les mainteneurs répondent en général sous 4 jours
-
Delete app commandOuverteinvalid
Difficulté 3/5 1-2 jours Accessibilité débutants 64/100
microsoft/msstore-cli#171 · 6 commentaires ·
Les mainteneurs répondent en général sous 4 jours
-
Limit on 100 appsOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
microsoft/msstore-cli#170 ·
Les mainteneurs répondent en général sous 4 jours
Toutes les issues de microsoft/msstore-cli
Issues similaires
-
bug P3
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
nightscout/nocturne#1908 ·
Les mainteneurs répondent en général sous 1 jour
-
bug documentation Needs: Triage :mag:
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
WPF: each page's `Title` overwrites the window title, and returning to a page does not restore itOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Les mainteneurs répondent en général sous 1 jour
-
agentic-workflows area/Docs partner/agentic-workflows
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
jamesmontemagno/tiny-clips#378 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour