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

Error: stream.push() after EOF #19

Open
AndyOGo opened this issue Oct 19, 2016 · 3 comments
Open

Error: stream.push() after EOF #19

AndyOGo opened this issue Oct 19, 2016 · 3 comments

Comments

@AndyOGo
Copy link

AndyOGo commented Oct 19, 2016

Unfortunately if I use this tool, I sometimes, randomly get this error (it does not happen always)

events.js:160
     throw er; // Unhandled 'error' event
     ^

Error: stream.push() after EOF
   at readableAddChunk (_stream_readable.js:156:17)
   at RequestMiddleware.Readable.push (_stream_readable.js:134:10)
   at IncomingMessage.<anonymous> (...\betrieb\places_zip_geo_mashup\node_modules\cached-request\lib\request-middleware.js:59:12)
   at emitOne (events.js:101:20)
   at IncomingMessage.emit (events.js:188:7)
   at IncomingMessage.Readable.read (_stream_readable.js:381:10)
   at flow (_stream_readable.js:761:34)
   at resume_ (_stream_readable.js:743:3)
   at _combinedTickCallback (internal/process/next_tick.js:74:11)
   at process._tickCallback (internal/process/next_tick.js:98:9)
@ghost
Copy link

ghost commented Jan 13, 2017

can confirm this
[15:34:33.437] Fri Jan 13 2017 15:34:33 GMT+0100 (CET) Error: stream.push() after EOF

And then the cache is corrupted:
[15:34:35.053] Fri Jan 13 2017 15:34:35 GMT+0100 (CET) SyntaxError: Unexpected end of JSON input

@elhoyos
Copy link
Contributor

elhoyos commented Jul 3, 2017

Which node versions are you guys using when having this issue?

nodejs/node-v0.x-archive#5439 seems very likely a possibility here.

@filly82
Copy link

filly82 commented Dec 18, 2017

I have the same problem, node 4.8.4 is the version

`events.js:141
throw er; // Unhandled 'error' event
^

Error: stream.push() after EOF
at readableAddChunk (_stream_readable.js:133:17)
at RequestMiddleware.Readable.push (_stream_readable.js:111:10)
at IncomingMessage. (D:\repositories\git\entwicklung\data_collectors\node_modules\cached-request\lib\request-middleware.js:59:12)
at emitOne (events.js:82:20)
at IncomingMessage.emit (events.js:169:7)
at IncomingMessage.Readable.read (_stream_readable.js:368:10)
at flow (stream_readable.js:759:26)
at resume
(_stream_readable.js:739:3)
at nextTickCallbackWith2Args (node.js:511:9)
at process._tickCallback (node.js:425:17)`

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

3 participants