drachtio/drachtio-freeswitch-modules

deepgram websocket connection closed after few seconds of transcription

rasheed-speechlogix opened this issue · 4 comments

It is noticed that after few seconds of transcription by the deepgram, it will close the websocket connection opened from the mod_deepgram_transcribe module . After few seconds of transcription the following error will be there.

"dg_transcribe_glue.cpp:223 connection dropped from far end"

Is deepgram expecting some kind of keep alive packets for keeping the websocket connection ?

When you say "a few seconds" how many seconds are you seeing? Are you testing with the latest version, because there was a bug fixed recently that may be the cause of what you are seeing. The fix was in this commit so make sure you have that one.

It was closed after 12 seconds i think . i installed the fsmrf using this ansible https://github.com/davehorton/ansible-role-fsmrf on 9th November. So i think it should be covered in the commit you shared.

Hello Dave,
Yes you are right, the ansible which i used for installing fsmrf is set with version 0.8.2 where this commit was not there. I build it again with the latest files and now the issue is fixed. Thanks for your support.

Thanks and Regards
Rasheed