Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http2/write.js benchmark throws "ERR_HTTP2_ERROR" #31048

Open
trivikr opened this issue Dec 20, 2019 · 3 comments
Open

http2/write.js benchmark throws "ERR_HTTP2_ERROR" #31048

trivikr opened this issue Dec 20, 2019 · 3 comments
Labels
http2 Issues or PRs related to the http2 subsystem.

Comments

@trivikr
Copy link
Member

trivikr commented Dec 20, 2019

  • Version: v10.18.0, v12.14.0
  • Platform: Ubuntu
  • Subsystem: http2

Command run:

$ h2load --version
h2load nghttp2/1.41.0-DEV

$ node benchmark/run.js --filter write http2

http2/write.js
http2/write.js benchmarker="h2load" size=100000 length=65536 streams=100: 1,898.23
http2/write.js benchmarker="h2load" size=100000 length=131072 streams=100: 1,038.20
events.js:174
      throw er; // Unhandled 'error' event
      ^

Error [ERR_HTTP2_ERROR]: The user callback function failed
    at Http2Session.onSessionInternalError [as error] (internal/http2/core.js:734:26)
Emitted 'error' event at:
    at emitErrorNT (internal/streams/destroy.js:91:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
    at process._tickCallback (internal/process/next_tick.js:63:19)
@trivikr
Copy link
Member Author

trivikr commented Dec 20, 2019

I'm able to reproduce the issue with h2load v1.40.0 too

$ h2load --version
h2load nghttp2/1.40.0

$ nvm use 12
Now using node v12.14.0 (npm v6.13.4)

$ node benchmark/run.js --filter write http2

http2/write.js
http2/write.js benchmarker="h2load" size=100000 length=65536 streams=100: 2,673.07
http2/write.js benchmarker="h2load" size=100000 length=131072 streams=100: 1,485.04
events.js:187
      throw er; // Unhandled 'error' event
      ^

Error [ERR_HTTP2_ERROR]: The user callback function failed
    at Http2Session.onSessionInternalError (internal/http2/core.js:746:26)
Emitted 'error' event on ServerHttp2Stream instance at:
    at emitErrorNT (internal/streams/destroy.js:92:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  code: 'ERR_HTTP2_ERROR',
  errno: -902
}

@trivikr
Copy link
Member Author

trivikr commented Jan 4, 2020

cc @nodejs/http2

@targos targos added the http2 Issues or PRs related to the http2 subsystem. label Dec 26, 2020
@AllanZhengYP
Copy link
Contributor

@trivikr Maybe related to #37849?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
http2 Issues or PRs related to the http2 subsystem.
Projects
None yet
Development

No branches or pull requests

3 participants