forked from deepgram-starters/nextjs-live-transcription
-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
What is the current behavior?
unable to re-establish connection after a period of inactivity
Steps to reproduce
open https://emilyai.deepgram.com/ and leave it dormant for like 20 minutes, then notice that the toast repeatedly pops up "The connection to Deepgram closed, we'll attempt to reconnect." and the transcription doesn't work
Expected behavior
connection re-establishes
Please tell us about your environment
this is in production, chrome and macos
Other information
I documented more information and logging here:
https://discord.com/channels/1108042150941294664/1245769351689146491/1245769351689146491
I did some debugging + logging on a forked version of this repo, and in my forked repo the loop is
- connection closes due to inactivity
- tries to reopen connection
- connection is reopened
- connection closes immediately without a reason (???)
- loop restarts
Metadata
Metadata
Assignees
Labels
No labels