服务器在node.js中崩溃

时间:2017-07-11 14:47:28

标签: node.js graphql apollo-server

我正在使用节点服务器的graphql(Apollo)。如果没有请求到服务器大约15分钟,我收到一个问题,我的服务器崩溃了。 我在控制台中遇到以下错误

{ Error: read ETIMEDOUT
    at exports._errnoException (util.js:1034:11)
    at TCP.onread (net.js:584:26) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
{ Error: read ETIMEDOUT
    at exports._errnoException (util.js:1034:11)
    at TCP.onread (net.js:584:26) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
{ Error: read ETIMEDOUT
    at exports._errnoException (util.js:1034:11)
    at TCP.onread (net.js:584:26) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
{ Error: read ETIMEDOUT
    at exports._errnoException (util.js:1034:11)
    at TCP.onread (net.js:584:26) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
{ Error: read ETIMEDOUT
    at exports._errnoException (util.js:1034:11)
    at TCP.onread (net.js:584:26) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
{ Error: read ETIMEDOUT
    at exports._errnoException (util.js:1034:11)
    at TCP.onread (net.js:584:26) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
{ Error: read ETIMEDOUT
    at exports._errnoException (util.js:1034:11)
    at TCP.onread (net.js:584:26) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
{ Error: read ETIMEDOUT
    at exports._errnoException (util.js:1034:11)
    at TCP.onread (net.js:584:26) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
events.js:163
      throw er; // Unhandled 'error' event

我的配置中是否缺少任何特定配置?

0 个答案:

没有答案