Too many retries error when trying to start a recording
还没有人认领这个 Issue。
评估
调研方向
从 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
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Azure-Samples/communication-services-java-quickstarts 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
Azure-Samples/communication-services-java-quickstarts#92 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 25/100
-
难度 5/5 一周以上 新手友好度 20/100
-
难度 3/5 1-2 天 新手友好度 25/100
查看 Azure-Samples/communication-services-java-quickstarts 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
apache/rocketmq-dashboard#7039 ·
维护者通常 3 天内回复
-
pdfium-drift
难度 1/5 1 小时以内 新手友好度 82/100
Stirling-Tools/JPDFium#176 ·
维护者通常 1 天内回复
-
Guidelines: redundant use cases, stale dev bundle after snapshot bumps, looking up snapshot API可能已有人在做 @totally-not-ai 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
vaadin/use-cases#441 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
hiero-ledger/hiero-consensus-node#27712 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 61/100
Vakore/ZappierGames#162 ·