Skip to content

unable to reconnect #47

@robertnowell

Description

@robertnowell

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions