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

flow.js:170 assertion failure #217

Open
bjb568 opened this issue Sep 14, 2016 · 1 comment
Open

flow.js:170 assertion failure #217

bjb568 opened this issue Sep 14, 2016 · 1 comment

Comments

@bjb568
Copy link

bjb568 commented Sep 14, 2016

This happens in 3.3.5 (but not 3.3.4) instead of #207:

assert.js:90
  throw new assert.AssertionError({
  ^
AssertionError: false == true
    at Flow._read (…/node_modules/http2/lib/protocol/flow.js:170:5)
    at Flow.Readable.read (_stream_readable.js:355:10)
    at Flow.read (…/node_modules/http2/lib/protocol/flow.js:194:34)
    at maybeReadMore_ (_stream_readable.js:461:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

This happens on multiple node versions I've tried, including 6.2.1 and 6.5.0.

@James-1064
Copy link

I'm also having the same issue:
The server starts up and everything is fine, but as soon as i browse to https://localboom:50100 the initial page loads and the server crashes with the following...

Any help much appreciated !

$ gulp host-dev 
[15:05:38] Using gulpfile C:\Dev\cxBoom\Source\Boombastic\boombastic\gulpfile.js 
[15:05:38] Starting 'host-dev'...  
[15:05:38] Finished 'host-dev' after 33 ms
[15:05:38] Dev Boombastic started https://localboom:50100
[15:05:38] LiveReload started on port 35729
(node:3272) Warning: Possible EventEmitter memory leak detected. 11 close listeners added. Use emitter.setMaxListeners() to increase limit     
(node:3272) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit

assert.js:85
  throw new assert.AssertionError({

AssertionError: false == true
    at Flow._read (C:\Dev\cxBoom\Source\Boombastic\boombastic\node_modules\http2\lib\protocol\flow.js:170:5)
    at Flow.Readable.read (_stream_readable.js:348:10)
    at Flow.read (C:\Dev\cxBoom\Source\Boombastic\boombastic\node_modules\http2\lib\protocol\flow.js:194:34)
    at maybeReadMore_ (_stream_readable.js:455:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

This is being called from the following gulp snippet:

gulp.task('host-dev', function() {
    connect.server({
        name:       'Dev Boombastic',
        https: 
        {
            key:        fs.readFileSync('../../../Certs/localboom.key', 'utf8'),
            cert:       fs.readFileSync('../../../Certs/localboom.crt', 'utf8')
        },
        port:       pkg.app.devURL.port,
        host:       pkg.app.devURL.host, 
        root:       pkg.paths.distDev,
        livereload: true
    });
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants