收藏
回答

压测的时候,为什么腾讯云信道服务老是中断的问题

小游戏压测,有规律的websocket断掉,是什么原因?

nodejs服务器端有时会显示


(node:3073) UnhandledPromiseRejectionWarning: Error: socket hang up

    at createHangUpError (_http_client.js:331:15)

    at TLSSocket.socketOnEnd (_http_client.js:423:23)

    at emitNone (events.js:111:20)

    at TLSSocket.emit (events.js:208:7)

    at endReadableNT (_stream_readable.js:1064:12)

    at _combinedTickCallback (internal/process/next_tick.js:138:11)

    at process._tickCallback (internal/process/next_tick.js:180:9)

(node:3073) 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: 8)


回答关注问题邀请回答
收藏

1 个回答

  • 欢乐马
    欢乐马
    2018-07-05

    你如果是使用了转发,那么就么有处理好keeplive

    2018-07-05
    有用
    回复
登录 后发表内容