Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[BUG] ExpiredAuthenticationToken when running the Extractor process at more than one hour

オープン
#671 コメント 10 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
azure, csharp

調査の方向性

Extractor プロセスとその Azure API Management リクエストから始め、特に tags エンドポイントに対して示されている management API 呼び出しを確認してください。1時間を超えて実行される抽出を再現し、トークンの期限が切れた後に認証がどのように処理されるかを追跡してください。完全な抽出が ExpiredAuthenticationToken エラーなしで正常に完了すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Release version

6.0.1.1

Describe the bug

Hello,

I´m running the extractor from APIM with many objects (apis, version sets, policies fragments, ...) and the extraction is during more than one hour and because this is broken.

The message is like this: System.Net.Http.HttpRequestException: HTTP request to URI

https://management.azure.com/subscriptions/***/resourceGroups/rg-abcd-dev-001/providers/Microsoft.ApiManagement/service/apim-abcd-dev-001/apis/api-xpto/tags?api-version=2023-09-01-preview failed with status code 401. Content is '{"error":{"code":"ExpiredAuthenticationToken","message":"The access token expiry UTC time '9/20/2024 4:01:35 AM' is earlier than current UTC time '9/20/2024 4:01:35 AM'."}}'.

====

Summary:

{"code":"ExpiredAuthenticationToken","message":"The access token expiry UTC time '9/20/2024 4:01:35 AM' is earlier than current UTC time '9/20/2024 4:01:35 AM'."}
````### 

### Expected behavior

Full extraction completed successfuly

### Actual behavior

The process is running to more than one hour and i´m reaceiving the access token expiry massage with ExpiredAuthenticationToken code.

{"code":"ExpiredAuthenticationToken","message":"The access token expiry UTC time '9/20/2024 4:01:35 AM' is earlier than current UTC time '9/20/2024 4:01:35 AM'."}


### Reproduction Steps

Just Running the Extractor
主要言語
C#
スター
448
フォーク
247
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/apiops のほかの issue

Azure/apiops の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。