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

Uncaught Exception #374

Closed
skadefro opened this issue Feb 22, 2024 · 1 comment
Closed

Uncaught Exception #374

skadefro opened this issue Feb 22, 2024 · 1 comment

Comments

@skadefro
Copy link

How do we catch this error ?
I need a way to avoid this crashing the nodejs application when there is network issues or the stun/turn server is restarted.
channel.onerror is not triggered, so must be something else

node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^

TransactionFailed [Error]
at Transaction.value [as responseReceived] (/mnt/data/vscode/config/workspace/code/jupyter-agent/node_modules/werift/lib/ice/src/stun/transaction.js:79:47)
at TurnClient.handleSTUNMessage (/mnt/data/vscode/config/workspace/code/jupyter-agent/node_modules/werift/lib/ice/src/turn/protocol.js:259:33)
at TurnClient.datagramReceived (/mnt/data/vscode/config/workspace/code/jupyter-agent/node_modules/werift/lib/ice/src/turn/protocol.js:278:18)
at transport.onData (/mnt/data/vscode/config/workspace/code/jupyter-agent/node_modules/werift/lib/ice/src/turn/protocol.js:240:18)
at Socket. (/mnt/data/vscode/config/workspace/code/jupyter-agent/node_modules/werift/lib/ice/src/transport.js:80:22)
at Socket.emit (node:events:514:28)
at UDP.onMessage [as onmessage] (node:dgram:933:8)
at UDP.callbackTrampoline (node:internal/async_hooks:130:17) {

@koush
Copy link
Collaborator

koush commented Feb 22, 2024

duplicate #364

@koush koush closed this as completed Feb 22, 2024
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