Error trying to configure msstore-cli in my circleci environment
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- csharp
- Ambito
- authentication, cli
Direzione di ricerca
Inizia con CredentialManagerUnix.WriteCredentialLinux alla riga 289, quindi esamina CLIConfigurator.ConfigureAsync alla riga 278 e riproduci il comando di riconfigurazione segnalato in un ambiente Ubuntu di CircleCI. Il lavoro è completato quando il comando memorizza le credenziali senza l’errore di indirizzo “/dev/null” e termina correttamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- C#
- Stelle
- 166
- Fork
- 22
- Merge medio
- 2g 21h
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/msstore-cli
-
Linux: settings.json (SellerId/TenantId/ClientId) not visible to any subsequent msstore invocation after reconfigure, despite file being correctly writtenForse già presa @isourabh l’ha presa 25 giorni fa. Aperta
microsoft/msstore-cli#181 · 2 commenti · 1 reazione · 2 assegnatari ·
-
Add Review support (Read, Reply, Translate)Forse già presa @azchohfi l’ha presa 26 giorni fa. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
microsoft/msstore-cli#179 ·
-
Concurrent msstore invocations crash with an unhandled IOException on telemetrySettings.jsonForse già presa @isourabh l’ha presa 32 giorni fa. Apertabug
microsoft/msstore-cli#176 · 1 reazione · 2 assegnatari ·
-
Delete app commandApertainvalid
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
microsoft/msstore-cli#171 · 6 commenti ·
-
Limit on 100 appsForse già presa @davesmits l’ha presa 34 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
microsoft/msstore-cli#170 ·
Tutte le issue di microsoft/msstore-cli
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
shimat/opencvsharp#2154 ·
I maintainer di solito rispondono entro 1 giorno
-
subsystem: UI
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Open-Systems-Pharmacology/PK-Sim#3812 ·
I maintainer di solito rispondono entro 1 giorno
-
[C#]:主页联网更新的提示投稿横幅指向错误Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
PCL-Community/PCL-CE#3652 ·
I maintainer di solito rispondono entro 1 giorno
-
bug effort:S P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
nightscout/nocturne#2012 ·
I maintainer di solito rispondono entro 1 giorno