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

Too many retries error when trying to start a recording

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
azure, java
領域
api, backend

調査の方向性

config.properties にあるサンプルアプリの設定から始め、報告された serverCallId を使用して callRecording.startRecordingWithResponse で失敗を再現します。StartRecordingOptions 周辺の Call Automation の録音設定を読み、リトライと CallingServerErrorException の詳細を調査します。原因を特定して修正し、500 エラーなしで有効な録音が開始されるようにするか、外部サービスの制限を文書化できれば完了です。

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

説明

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

Using the sample app, I set the ConnectionString in config.properties and tried to start a recording. It always fails with the error "Retry attempts have been exhausted"

I know the connection string is fine and the passed in serverCallId is valid because if I try to start a recording after the meeting is ended, I get a different error.

Here is the section of code where the failure occurring in the last line:

serverCallLocator = new ServerCallLocator(serverCallId);

StartRecordingOptions recordingOptions = new StartRecordingOptions(serverCallLocator);
recordingOptions.setRecordingContent(RecordingContent.AUDIO_VIDEO);
recordingOptions.setRecordingChannel(RecordingChannel.MIXED);
recordingOptions.setRecordingFormat(RecordingFormat.MP4);

logger.log(Level.INFO, "Getting call recording") ;
CallRecording callRecording = this.callAutomationClient.getCallRecording() ;
logger.log(Level.INFO, "Starting recording") ;
Response<RecordingStateResult> response = callRecording.startRecordingWithResponse(recordingOptions, null);
Any log messages given by the failure

Here is the error and exception:

2023-01-13 11:40:08.275  INFO 14195 --- [r-http-kqueue-1] com.azure.core.http.policy.RetryPolicy   : {"az.sdk.message":"Retry attempts have been exhausted.","tryCount":3}
com.azure.communication.callautomation.models.CallingServerErrorException: Status code 500, "{"error":{"code":"9999","message":"Unknown internal server error."}}"
	at com.azure.communication.callautomation.models.CallingServerErrorException$1.create(CallingServerErrorException.java:65)
Expected/desired behavior

The recording should start without any error

OS and Version?

Mac OS X 12.6.2

Versions

1.0.0-beta.1. but I also built 1.0.0-beta.2 from the GitHub as of today and that fails too.

Mention any other details that might be useful
主要言語
Java
スター
14
フォーク
41
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

Azure-Samples/communication-services-java-quickstarts のほかの issue

Azure-Samples/communication-services-java-quickstarts の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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