Skip to content
This repository has been archived by the owner on Sep 13, 2020. It is now read-only.
/ node-http2-repro Public archive

Reproduces a NGHTTP2_ENHANCE_YOUR_CALM failure from http/2 in node v10.16.3

Notifications You must be signed in to change notification settings

mikelehen/node-http2-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To reproduce the issue:

nvm install v10.16.3
npm install
node index.js
# wait ~5 minutes.

Result:

Read 250 docs (250 total). Last doc: 04vXQFuo3vA4Remqyazy
Read 250 docs (500 total). Last doc: 09JXOMuMSLjMmCx1mpcs
... (usually it fails once it gets to ~"95000 total") ...
(node:35737) UnhandledPromiseRejectionWarning: Error: Bandwidth exhausted
    at Http2CallStream.call.on (/Users/mikelehen/src/node-http2-repro/node_modules/@grpc/grpc-js/build/src/call.js:68:41)
    at Http2CallStream.emit (events.js:203:15)
    at process.nextTick (/Users/mikelehen/src/node-http2-repro/node_modules/@grpc/grpc-js/build/src/call-stream.js:71:22)
    at process._tickCallback (internal/process/next_tick.js:61:11)

Now nvm install v10.16.2 and run it. It should complete successfully:

Read 250 docs (250 total). Last doc: 04vXQFuo3vA4Remqyazy
Read 250 docs (500 total). Last doc: 09JXOMuMSLjMmCx1mpcs
...
Read 200 docs (201700 total). Last doc: zzzhIf3SovjTPCEvT4TR
All done!

About

Reproduces a NGHTTP2_ENHANCE_YOUR_CALM failure from http/2 in node v10.16.3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published