-
Notifications
You must be signed in to change notification settings - Fork 476
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
AssertionError: this.newStreams.length != 0 #546
Comments
I think this assertion firing was the motivation behind #503. Do you have the capacity to try |
Ah, production server, probably not. Maybe you could try to produce the problem locally. But failing that, I should do a release soon. |
I'm adventurous, and it looks like a simple enough change. I can try this on master for a day. :) |
Hmm... I tried adding:
to my package.json, but I'm getting this error:
I'm guessing this is something generated? Any easy way to run master? :P |
Hi @jwalton, It think you'll need to run prepare to generate the defs. I suspect it hasn't worked due to the git dependency, although the the docs imply otherwise...
You might find running |
Ok, I took a little hackery to get my ci pipeline to run |
This does seem to have fixed the assert issue for me in my staging environment (one of my processes was restarting about 5 times an hour, and it hasn't restarted at all since I upgrade amqplib to master). I guess we need a new release @squaremo. :D |
Believe the fix was released. |
In the past couple of weeks, I've started seeing this assert:
https://github.com/squaremo/amqp.node/blob/v0.5.5/lib/mux.js#L92
being raised on my production servers a few times a day. Whenever it's raised,
this.newStreams.length
is always 28:The text was updated successfully, but these errors were encountered: