√(sec²(冥)➖1)
√(sec²(冥)➖1)
DDeno
Created by √(sec²(冥)➖1) on 6/14/2024 in #help
Catch/handle WebSocketStream connection reset error
I still get the uncaught error, even after catching readable and writable -
error: Uncaught (in promise) WebSocketError: connection reset
at new WebSocketError (ext:deno_websocket/02_websocketstream.js:478:5)
at Object.pull (ext:deno_websocket/02_websocketstream.js:270:31)
at eventLoopTick (ext:core/01_core.js:168:7)
error: Uncaught (in promise) WebSocketError: connection reset
at new WebSocketError (ext:deno_websocket/02_websocketstream.js:478:5)
at Object.pull (ext:deno_websocket/02_websocketstream.js:270:31)
at eventLoopTick (ext:core/01_core.js:168:7)
20 replies
DDeno
Created by √(sec²(冥)➖1) on 6/14/2024 in #help
Catch/handle WebSocketStream connection reset error
Do it with for await (const message of readable) {}
20 replies
DDeno
Created by √(sec²(冥)➖1) on 6/14/2024 in #help
Catch/handle WebSocketStream connection reset error
What about readable? How do I handle that?
20 replies
DDeno
Created by √(sec²(冥)➖1) on 6/14/2024 in #help
Catch/handle WebSocketStream connection reset error
20 replies
DDeno
Created by √(sec²(冥)➖1) on 6/14/2024 in #help
Catch/handle WebSocketStream connection reset error
I still get the uncaught error -
error: Uncaught (in promise) WebSocketError: connection reset
at new WebSocketError (ext:deno_websocket/02_websocketstream.js:478:5)
at Object.pull (ext:deno_websocket/02_websocketstream.js:270:31)
at eventLoopTick (ext:core/01_core.js:168:7)
error: Uncaught (in promise) WebSocketError: connection reset
at new WebSocketError (ext:deno_websocket/02_websocketstream.js:478:5)
at Object.pull (ext:deno_websocket/02_websocketstream.js:270:31)
at eventLoopTick (ext:core/01_core.js:168:7)
20 replies
DDeno
Created by √(sec²(冥)➖1) on 6/14/2024 in #help
Catch/handle WebSocketStream connection reset error
Your solution gave me this error -
Property 'addEventListener' does not exist on type 'WebSocketStream'.deno-ts(2339)
Property 'addEventListener' does not exist on type 'WebSocketStream'.deno-ts(2339)
20 replies
DDeno
Created by √(sec²(冥)➖1) on 6/14/2024 in #help
Catch/handle WebSocketStream connection reset error
@Deno AI Helper How/where to catch this error? I am using WebSocketStream and catching on wss.opened and on wss.closed still this error is uncaught from somewhere -
error: Uncaught (in promise) WebSocketError: connection reset
at new WebSocketError (ext:deno_websocket/02_websocketstream.js:478:5)
at Object.pull (ext:deno_websocket/02_websocketstream.js:270:31)
at eventLoopTick (ext:core/01_core.js:168:7)
error: Uncaught (in promise) WebSocketError: connection reset
at new WebSocketError (ext:deno_websocket/02_websocketstream.js:478:5)
at Object.pull (ext:deno_websocket/02_websocketstream.js:270:31)
at eventLoopTick (ext:core/01_core.js:168:7)
20 replies
DDeno
Created by √(sec²(冥)➖1) on 6/14/2024 in #help
Catch/handle WebSocketStream connection reset error
@Deno AI Helper
20 replies
DDeno
Created by √(sec²(冥)➖1) on 5/9/2024 in #help
Can you use deno fresh on deno deploy playground?/
@Deno AI Helper Can you use deno fresh on deno deploy playground?
4 replies