Uncaught (in promise) eof for websocket

/root/.pm2/logs/twitter-follow-checker-error.log last 15 lines: 0|twitter | ^ 0|twitter | at alert_new_follow (file:///root/projects/twitter_v2_deno/watchers/alert_newfollow.ts:49:61) 0|twitter | at eventLoopTick (ext:core/01core.js:183:11) 0|twitter | at async file:///root/projects/twitter_v2deno/cron.ts:10:1 0|twitter | Sending fatal alert UnknownCA 0|twitter | TLS connection failed with message: invalid peer certificate: UnknownIssuer 0|twitter | Defaulting to non-encrypted connection 0|twitter | error: Uncaught (in promise) InvalidStateError: readyState not OPEN 0|twitter | shard.socket?.send( 0|twitter | ^ 0|twitter | at WebSocket.send (ext:deno_websocket/01websocket.js:322:13) 0|twitter | at https://deno.land/x/discordeno@18.0.1/gateway/shard/startHeartbeating.ts:52:21 0|twitter_ | at Object.action (ext:deno_web/02timers.js:152:11) 0|twitter | at handleTimerMacrotask (ext:deno_web/02timers.js:66:10) 0|twitter | at eventLoopTick (ext:core/01_core.js:189:21)
Looks to me like something is wrong with twitter’s certificates Have you asked the discordeno people?
it's about discord certificate but core issue is deno_websocket
have people from discordeno reported similar issues? I havent heard of ths before
I don't think anybody uses discorddeno in production heavily yet to report it

Looking for more? Join the community!

Recommended Posts
Deno hangs on errorWhy does Deno hang when XML.parse throws an error? ``` let text = '<xml><xbrli:xbrl><hi>Hello</hi><[SOLVED] deno.lock keeps getting populated with dependencies I don't needI have tried to use a syntax highlighter before and have since removed it from my project, but everyWhat a method prefixed with `#` means?This is perhaps the stupidest question ever. But I often see method with names prefixed with a `#`Logger names and prefixesIs there any obvious way on how to configure std/log so that loggers named `my-prefix/foo/bar` and `Deno and `npm:mongodb` problem with `node:`?``` ❯ deno check --reload main.ts error: Relative import path "net" not prefixed with / or ./ or ../DiscordJS "Error: Not implemented: ClientRequest.options.createConnection"```ts import { GatewayDispatchEvents, GatewayIntentBits, InteractionType, MessageFlags, Client } froUsing Superagent in Deno?Has anyone managed to make Superagent work nicely in Deno? ``` _ { type: "error", message: "BroOak – ctx.assert with custom response headersAm I doing this wrong? No extra custom headers are being set in the response as far as I can see in npm:undici doesn't workhttps://github.com/denoland/deno/issues/16710 Marked as resolved by this issue but does not work in Abusing prototype CryptoKey in `node:crypto`Is there any way that I can set the prototype of an object to specifically `CryptoKey` as defined byUncaught (in promise) TypeError: cannot read headers: request closedWhat is this? How to fix it?Async OP that returns value instead of promiseIn `deno_runtime` is possible to have async op that returns the resolved value instead of promise? KFresh Logging MiddlewareHow would you go about writing a duration logger? Using 2 middlewares, I assumed they would behave VS-Code auto import local modulesHey is there a way to enable some sort of auto import for local modules/files in VS-Code? Currently