Error trying to configure msstore-cli in my circleci environment
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- csharp
- 領域
- authentication, cli
調査の方向性
289 行目の CredentialManagerUnix.WriteCredentialLinux から始め、次に 278 行目の CLIConfigurator.ConfigureAsync を確認し、報告された再構成コマンドを CircleCI Ubuntu 環境で再現します。コマンドが「/dev/null」アドレスエラーなしで認証情報を保存し、正常に終了すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- C#
- スター
- 163
- フォーク
- 22
- 平均マージ
- 5日 22時間
- マージ済み PR(30日)
- 7
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/msstore-cli のほかの issue
-
Linux: settings.json (SellerId/TenantId/ClientId) not visible to any subsequent msstore invocation after reconfigure, despite file being correctly written対応中かも @isourabh が 20 日前に担当しました。 オープン
microsoft/msstore-cli#181 · コメント 2 件 · リアクション 1 件 · 担当者 2 名 ·
メンテナーはふだん 4 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
microsoft/msstore-cli#179 ·
メンテナーはふだん 4 日以内に返信
-
Concurrent msstore invocations crash with an unhandled IOException on telemetrySettings.json対応中かも @isourabh が 27 日前に担当しました。 オープンbug
microsoft/msstore-cli#176 · リアクション 1 件 · 担当者 2 名 ·
メンテナーはふだん 4 日以内に返信
-
Delete app commandオープンinvalid
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
microsoft/msstore-cli#171 · コメント 6 件 ·
メンテナーはふだん 4 日以内に返信
-
Limit on 100 appsオープン
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
microsoft/msstore-cli#170 ·
メンテナーはふだん 4 日以内に返信
microsoft/msstore-cli の issue をすべて見る
似ている issue
-
bug P3
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
nightscout/nocturne#1908 ·
メンテナーはふだん 1 日以内に返信
-
bug documentation Needs: Triage :mag:
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
WPF: each page's `Title` overwrites the window title, and returning to a page does not restore itオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
agentic-workflows area/Docs partner/agentic-workflows
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
jamesmontemagno/tiny-clips#378 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信