天蓝色vm上的ECONNRESET错误 [英] ECONNRESET error on azure vm

查看:679
本文介绍了天蓝色vm上的ECONNRESET错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  { Error: read ECONNRESET
      at TLSWrap.onStreamRead (internal/stream_base_commons.js:
CONNRESET', code: 'ECONNRESET', syscall: 'read' } })


我正在使用node.js托管一个discord机器人 天蓝色的。让它打开一点后,就会出现这个错误。任何人都知道如何解决这个问题?当它给出错误时它也会停止机器人。

I'm hosting a discord bot with node.js on an  azure vm. After having it on for a bit, it gives this error. Anyone have any idea on how to fix this? When it gives the error it stops the bot as well.

推荐答案

你好Lavadude65,

Hi Lavadude65,

一般ECONNRESET错误意味着服务器突然关闭了连接。

Generally ECONNRESET Error means the server closed the connectin abruptly.

大多数你运行的nodejs服务器正在抛出异常并停止。

Mostly the nodejs server which you are running is throwing an exception and stops.

你可以检查服务器端nodejs日志以获取更多信息。

You can check the server side nodejs logs for more information.


这篇关于天蓝色vm上的ECONNRESET错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆