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

Method client.GetReadResultAsync is getting cycling

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

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

評価

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

調査の方向性

報告されている client.GetReadResultAsync(Guid.Parse(operationId)) の周囲の do/while ループから始め、記載されている ASP.NET Core 3.1 のセットアップを使って動作を再現します。繰り返し呼び出したときに返される OperationStatusCodes と operationId を確認します。status が Running のままになる理由を特定し、その動作を文書化または修正できれば完了です。プロジェクトファイルやテストは指定されていません。

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

説明

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
            ReadOperationResult results;

            do
            {
                **results = await client.GetReadResultAsync(Guid.Parse(operationId));**
            }
            while ((results.Status == OperationStatusCodes.Running || results.Status == OperationStatusCodes.NotStarted));

            var textUrlFileResults = results.AnalyzeResult.ReadResults;
            foreach (ReadResult page in textUrlFileResults)
            {
                foreach (Line line in page.Lines)
                {
                    stb.AppendLine(line.Text);
                }
            }
Any log messages given by the failure

The code is an ASP.NET Core 3.1API was working fine from a month but since today stop working, I debug the code and saw that the do while is cycling and the results.Status property is always with Running value

Expected/desired behavior
OS and Version?

Windows 7, Windows Server 2012

Versions

asp.net core 3.1

Mention any other details that might be useful

was working fine but just stop working


Thanks! We'll be in touch soon.

主要言語
Jupyter Notebook
スター
388
フォーク
556
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

Azure-Samples/cognitive-services-quickstart-code のほかの issue

Azure-Samples/cognitive-services-quickstart-code の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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