mrhso / LilyWhiteBot

互联机器人莉莉白

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discord Bot无法连接

SinonGame opened this issue · comments

commented

10月11日更新:
之前是由于配置错误,今天开始完全无法连接discord机器人,就是把proxyurl打开也没用,错误信息:
更改host:
(node:6416) UnhandledPromiseRejectionWarning: Error: read ECONNRESET at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27) (node:6416) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:6416) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre cated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
未更改host:
(node:5948) UnhandledPromiseRejectionWarning: Error: connect ETIMEDOUT 140.238.3 5.210:443 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1106:14) (node:5948) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:5948) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre cated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

commented

proxy 那个我没写 Discord 的。现在内地 Discord 已经彻底 RST 了吗?

commented

如果确认内地已经彻底墙掉的话,我有空改改吧。

commented

国内已经彻底完蛋了,改host也没用了,用dogfight360的反代无法连接,提示SSL不正确。另外建议增加一下图片互通发送功能,图片无法发送这个是真的难受

commented

最好加一个本地代理,就是说本地有一个socks服务器,通过这个代理服务器连接discord

commented

请尽快解决一下............

要不乾脆弄個國外VPS吧

commented

@SirnoChan 我现在直接就是挂的ss-tap全局代理,但是不是长久的方案啊,最好还是加一个代理的接口

commented

这个要是 discord.js 有代理接口就简单,但是它那文档死难读……

commented

能不能让nodejs的所有流量走代理呢?
discordjs/discord.js#3039
这个有没有用?