Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Verbose Websocket Errors #267

Open
joshraymo opened this issue Apr 21, 2024 · 1 comment
Open

More Verbose Websocket Errors #267

joshraymo opened this issue Apr 21, 2024 · 1 comment

Comments

@joshraymo
Copy link

Proposed changes

Hello! I made a post on the discord but was prompted to open an issue so here I am! I am currently attempting to implement a live transcription with Deepgram and Ably but am unable to make a connection to the Deepgram api.

However, I have had an incredibly hard time debugging the issue because the error that is returned from the api is not verbose, and as such, makes it very hard to tell what the issue actually is. I've been stuck on this for a few days now and unfortunately am having a hard time seeing a path forward

If you could make the errors more descriptive, including an error code and message that would be amazing, because as it stands it's very hard to figure out what is wrong. I've included a screenshot of the error and relevant code, as well as a link to the original post on discord
Screenshot 2024-04-21 134815
Screenshot 2024-04-21 140616

https://discord.com/channels/1108042150941294664/1231667143393673246

@lukeocodes
Copy link
Contributor

There is an issue with the websocket package we're using, whereby it suppresses the connection errors and just emits an error. Very frustrating! I'm looking to replace it entirely with our own isomorphic code for browser/server websockets, which should give us a lot of improvements across the board

Might take me a couple of weeks to get to this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants