Received an error from the Google Cloud API

Hi,

I finally managed to make jigasi installed. When i Add jitsi_meet_transcribe int he call. I can see its added as caller but getting errors in jigasi.log as below. How can i get Speech to Text transcript work. Please suggest
2020-04-05 09:42:24.285 INFO: [110] org.jitsi.jigasi.transcription.GoogleCloudTranscriptionService.log() sent 1000ms to speech API, for a total of 1 intervals
2020-04-05 09:42:25.389 WARNING: [163] org.jitsi.jigasi.transcription.GoogleCloudTranscriptionService.log() Received an error from the Google Cloud API
com.google.api.gax.rpc.CancelledException: io.grpc.StatusRuntimeException: CANCELLED: Failed to read message.
at com.google.api.gax.rpc.ApiExceptionFactory.createException(ApiExceptionFactory.java:43)
at com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:72)
at com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:60)
at com.google.api.gax.grpc.ExceptionResponseObserver.onErrorImpl(ExceptionResponseObserver.java:82)
at com.google.api.gax.rpc.StateCheckingResponseObserver.onError(StateCheckingResponseObserver.java:86)
at com.google.api.gax.grpc.GrpcDirectStreamController$ResponseObserverAdapter.onClose(GrpcDirectStreamController.java:149)
at io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
at io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
at io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)
at io.grpc.internal.CensusStatsModule$StatsClientInterceptor$1$1.onClose(CensusStatsModule.java:678)
at io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
at io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
at io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)
at io.grpc.internal.CensusTracingModule$TracingClientInterceptor$1$1.onClose(CensusTracingModule.java:403)
at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:459)
at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:63)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.close(ClientCallImpl.java:546)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.access$600(ClientCallImpl.java:467)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInContext(ClientCallImpl.java:531)
at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: io.grpc.StatusRuntimeException: CANCELLED: Failed to read message.
at io.grpc.Status.asRuntimeException(Status.java:526)
… 23 more
Caused by: java.lang.NullPointerException
at org.jitsi.jigasi.transcription.Participant.getIdentityExtensionOrNull(Participant.java:325)
at org.jitsi.jigasi.transcription.Participant.getAvatarUrl(Participant.java:216)
at org.jitsi.jigasi.transcription.LocalJsonTranscriptHandler.addParticipantDescription(LocalJsonTranscriptHandler.java:406)
at org.jitsi.jigasi.transcription.LocalJsonTranscriptHandler.addEventDescriptions(LocalJsonTranscriptHandler.java:343)
at org.jitsi.jigasi.transcription.LocalJsonTranscriptHandler.createTranscriptionJSONObject(LocalJsonTranscriptHandler.java:255)
at org.jitsi.jigasi.transcription.LocalJsonTranscriptHandler.publish(LocalJsonTranscriptHandler.java:230)
at org.jitsi.jigasi.transcription.TranscriptHandler.publishTranscriptionResult(TranscriptHandler.java:146)
at org.jitsi.jigasi.TranscriptionGatewaySession.sendTranscriptionResultToRoom(TranscriptionGatewaySession.java:628)
at org.jitsi.jigasi.TranscriptionGatewaySession.notify(TranscriptionGatewaySession.java:386)
at org.jitsi.jigasi.transcription.Transcriber.notify(Transcriber.java:751)
at org.jitsi.jigasi.transcription.Participant.notify(Participant.java:527)
at org.jitsi.jigasi.transcription.GoogleCloudTranscriptionService$ResponseApiStreamingObserver.sent(GoogleCloudTranscriptionService.java:970)
at org.jitsi.jigasi.transcription.GoogleCloudTranscriptionService$ResponseApiStreamingObserver.handleResult(GoogleCloudTranscriptionService.java:942)
at org.jitsi.jigasi.transcription.GoogleCloudTranscriptionService$ResponseApiStreamingObserver.onNext(GoogleCloudTranscriptionService.java:866)
at org.jitsi.jigasi.transcription.GoogleCloudTranscriptionService$ResponseApiStreamingObserver.onNext(GoogleCloudTranscriptionService.java:784)
at com.google.api.gax.rpc.ApiStreamObserverAdapter.onResponseImpl(ApiStreamObserverAdapter.java:56)
at com.google.api.gax.rpc.StateCheckingResponseObserver.onResponse(StateCheckingResponseObserver.java:62)
at com.google.api.gax.grpc.ExceptionResponseObserver.onResponseImpl(ExceptionResponseObserver.java:74)
at com.google.api.gax.rpc.StateCheckingResponseObserver.onResponse(StateCheckingResponseObserver.java:62)
at com.google.api.gax.grpc.GrpcDirectStreamController$ResponseObserverAdapter.onMessage(GrpcDirectStreamController.java:134)
at io.grpc.ForwardingClientCallListener.onMessage(ForwardingClientCallListener.java:33)
at io.grpc.ForwardingClientCallListener.onMessage(ForwardingClientCallListener.java:33)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInContext(ClientCallImpl.java:519)

Hi,
I am having the same issue, did you manage to solve it ?

nope :frowning:

Try to change the send message format to “Text”, the error goes away on my case. It only happens when I use “JSON”

thanks!! that worked.

Unfortunately we still don’t know why it does not work with JSON :frowning:

Hello Sagasti
Have you find solution for JSON
I appreciate your help…

Thank you