-
Notifications
You must be signed in to change notification settings - Fork 9
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
stream.push() after EOF at readableAddChunk #4
Comments
It's closing the stream after 16kB. There is some logical error after Add Range support commit. |
@ankiit Thanks for reporting this. Do you know of a way that we can reproduce this so I can create a test and then a fix for it? |
I have encountered the similar problems but the data itself has no pattern.
|
I'm definitely running into the same error, the content is getting cut off at exactly 16384. It appears you cannot stream values back from redis that exceed this size, the error kills the stream. To reproduce this, just SET a key with a value larger than 16384 bytes. You'll see if you read it back you'll never get the complete stream it will cut off at 16384. |
I think this issue cropped up between redis-rstream I'm seeing this same error on some large values - for me it's truncating at around 81k. I have multi-MB values that I'm able to stream fine, so I'm not sure what's going on.
This shows up on redis This may be the underlying cause of dvonlehman/express-request-proxy#24, which is how I encountered it. |
@tarekrached , I was able to reproduce it in
Was anyone able to fix this issue? |
I'm locked down to the older version which still works correctly. But this module is probably outdated with redis adding proper stream API http://antirez.com/news/114. |
@rdy The new Stream data structure is unrelated to Node streams. |
This PR should solve the issue, or at least not bring the whole process down due to |
@jeffbski Is there any update on this? I also hit this issue on heroku:
|
I seem to have solved my issue. When calling redis.createClient I had to add the detect_buffers: true option. According to the redis-rstream readme under usage:
|
@ikappas not sure this will resolve your issue as I'm using the |
Is this still an issue for anyone? If so could you give me a test and any ideas on how I might implement a fix if you believe you know how. Thanks. |
I'am getting this issue every time when using docker
if I downgrade to |
I'm facing following error with readable-stream 2.2.9
Error: stream.push() after EOF at readableAddChunk (_stream_readable.js:156:17) at RedisRStream.Readable.push (_stream_readable.js:134:10)
What can be possible reasons causing this behavior?
The text was updated successfully, but these errors were encountered: