Too many retries error when trying to start a recording
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu với cấu hình ứng dụng mẫu trong config.properties và tái hiện lỗi tại callRecording.startRecordingWithResponse bằng serverCallId đã được báo cáo. Đọc phần thiết lập ghi âm Call Automation xung quanh StartRecordingOptions và kiểm tra chi tiết về việc thử lại và CallingServerErrorException. Hoàn tất khi xác định và khắc phục được nguyên nhân để bản ghi hợp lệ có thể bắt đầu mà không gặp lỗi 500, hoặc ghi lại tài liệu về giới hạn của dịch vụ bên ngoài.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Java
- Star
- 14
- Fork
- 41
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Azure-Samples/communication-services-java-quickstarts
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Azure-Samples/communication-services-java-quickstarts#92 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
Tất cả issue của Azure-Samples/communication-services-java-quickstarts
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Black theme and viewing mode.Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
oracle/javavscode#652 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OpenAPITools/openapi-generator#25014 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
AloisSeckar/demos-java#380 ·