Too many retries error when trying to start a recording
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Comienza con la configuración de la aplicación de ejemplo en config.properties y reproduce el fallo en callRecording.startRecordingWithResponse usando el serverCallId indicado. Lee la configuración de grabación de Call Automation alrededor de StartRecordingOptions e inspecciona los detalles del reintento y de CallingServerErrorException. Se considera terminado cuando se haya identificado y corregido la causa para que se inicie una grabación válida sin el error 500, o cuando se documente la limitación del servicio externo.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Java
- Estrellas
- 14
- Forks
- 41
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Azure-Samples/communication-services-java-quickstarts
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
Azure-Samples/communication-services-java-quickstarts#92 · 1 comentario ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
Todos los issues de Azure-Samples/communication-services-java-quickstarts
Issues similares
-
area-deployment area-integrations triage:bot-seen
Dificultad 2/5 Medio día Aptitud para principiantes 86/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
apache/flink-agents#1156 ·
-
[source-shopify] FAILED bulk operation without partialDataUrl is silently treated as successful Abiertoarea/connectors autoteam community connectors/source/shopify needs-triage team/use type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100