简体   繁体   English

Discord.JS TLS 错误

[英]Discord.JS TLS errors

I have been working on a bot for some time now.我已经在机器人上工作了一段时间了。 Since I updated it to v15.5.0, after a while it works fine, does exactly what I want but then crashes, giving the following error.自从我将它更新到 v15.5.0 后,一段时间后它工作正常,完全按照我的要求进行,但随后崩溃,出现以下错误。 This seems to be a TLS issue.这似乎是一个 TLS 问题。

Error: Client network socket disconnected before secure TLS connection was established
    at connResetException (node:internal/errors:631:14)
    at TLSSocket.onConnectEnd (node:_tls_wrap:1565:19)
    at TLSSocket.emit (node:events:388:22)
    at endReadableNT (node:internal/streams/readable:1305:12)
    at processTicksAndRejections (node:internal/process/task_queues:80:21)

The source code for the bot is here机器人的源代码在这里

Will I have to downgrade?我必须降级吗? If so, to what version of node?如果是这样,到什么版本的节点?

I'm using this on a Windows 10 64bit computer with no proxy settings whatsoever.我在没有任何代理设置的 Windows 10 64 位计算机上使用它。

This is not related to Node.js v15, but it seems like it is an issue on your end (with your connection, or your computer).这与 Node.js v15 无关,但它似乎是您的问题(与您的连接或计算机有关)。 this question may help you to resolve your issue. 这个问题可能会帮助您解决问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM