egg-socket 启动报错 Cannot set property 'parsingHeadersStart' of undefined

Created on 31 Mar 2019  ·  9Comments  ·  Source: eggjs/egg

What happens?

egg项目安装egg-socket.io后报错。 直接clone官方的demo也是同样报错。

Mini Showcase Repository(REQUIRED)

the error info
nodejs.TypeError: Cannot set property 'parsingHeadersStart' of undefined (uncaughtException throw 1 times on pid:3514)
at IncomingMessage.resetHeadersTimeoutOnReqEnd (_http_server.js:744:32)
at IncomingMessage.emit (events.js:189:13)
at endReadableNT (_stream_readable.js:1125:12)
at process._tickCallback (internal/process/next_tick.js:63:19)

How To Reproduce

Steps to reproduce the behavior:
1.
2.

Expected behavior
1.
2.

Context

  • Node Version: v10.15.3
  • Egg Version: 2.20.2
  • Plugin Name: egg-scoket.io
  • Plugin Version: 4.1.5
  • Platform:MacOs majve
Need Reproduce

Most helpful comment

sb项目

All 9 comments

Hello @kissyam. Please provide a reproducible example following the instruction.

Issues labeled by Need Reproduce will be closed if no activities in 7 days.


@kissyam,请根据这个说明提供最小可复现代码。

如果在 7 天内没有进展会被自动关闭。

@kissyam 使用Node v10.15.1 即可,Node官方还没修复。

This issue is closed because it has been marked as Need Reproduce, but has not had recent activity.
If you can provide a reproduce, feel free to ping anyone of our maintainers to reopen this issue.
Thank you for your contributions.

亲测升级到目前最新的v10.16.0解决

我用的alinode:4.7.2镜像也出现了这个问题
nodejs版本也是10.15.3。
但是alinode镜像不更新,欲哭无泪。。。

亲测升级nodejs版本就好了。
2019-06-29 00:53:15,625 INFO 41 [master] node version v12.4.0
2019-06-29 00:53:15,625 INFO 41 [master] alinode version v5.4.0
2019-06-29 00:53:15,625 INFO 41 [master] egg version 2.22.2

sb项目

调了一下午,口吐芬芳

我用的alinode:4.7.2镜像也出现了这个问题
nodejs版本也是10.15.3。
但是alinode镜像不更新,欲哭无泪。。。

同10.15.3,好恨早上不来找你

Was this page helpful?
0 / 5 - 0 ratings