Unity Deepgram connection closed. #489
Replies: 3 comments 1 reply
-
Thanks for asking your question about Deepgram! If you didn't already include it in your post, please be sure to add as much detail as possible so we can assist you efficiently, such as:
|
Beta Was this translation helpful? Give feedback.
-
The response from Deepgram indicates that 29.41 seconds of audio was sent before the connection was closed, does this line up roughly with what you observed? Can you share some of your code? The line numbers referenced in |
Beta Was this translation helpful? Give feedback.
-
@nikolawhallon i am also facing the same issue where the deepgram is getting closed suddenly STT deepgram STT: metadata received: { |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, I am currently facing issue of connection close, and I do not know what the problem is. Can anyone help me troubleshoot this issue please. Thank you in advance.
OnMessage: {"type":"Metadata","transaction_key":"deprecated","request_id":"2b96da38-b989-44ba-bb4f-356878973d03","sha256":"incomplete","created":"2023-12-12T20:38:25.019Z","duration":29.41,"channels":1,"models":["96a295ec-6336-43d5-b1cb-1e48b5e6d9a4"],"model_info":{"96a295ec-6336-43d5-b1cb-1e48b5e6d9a4":{"name":"general","version":"2023-02-22.3","arch":"base"}}}
UnityEngine.Debug:Log (object)
DeepgramInstance:b__3_3 (byte[]) (at Assets/Script/DeepgramInstance.cs:63)
NativeWebSocket.WebSocket:DispatchMessageQueue () (at ./Library/PackageCache/com.endel.nativewebsocket@c5101c0776/WebSocket/WebSocket.cs:637)
DeepgramInstance:Update () (at Assets/Script/DeepgramInstance.cs:89)
Connection closed!
UnityEngine.Debug:Log (object)
DeepgramInstance/<>c:b__3_2 (NativeWebSocket.WebSocketCloseCode) (at Assets/Script/DeepgramInstance.cs:57)
NativeWebSocket.WebSocket/d__36:MoveNext () (at ./Library/PackageCache/com.endel.nativewebsocket@c5101c0776/WebSocket/WebSocket.cs:700)
System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:Run ()
WaitForUpdate/MainThreadAwaiter:Complete () (at ./Library/PackageCache/com.endel.nativewebsocket@c5101c0776/WebSocket/WebSocket.cs:66)
WaitForUpdate/d__4:MoveNext () (at ./Library/PackageCache/com.endel.nativewebsocket@c5101c0776/WebSocket/WebSocket.cs:78)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
Another issue (does not show every time)
SocketException: An established connection was aborted by the software in your host machine.
Rethrow as IOException: Unable to read data from the transport connection: An established connection was aborted by the software in your host machine.
Beta Was this translation helpful? Give feedback.
All reactions