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

Unhandled 'error' event #53

Closed
pro-sumer opened this issue Sep 23, 2020 · 2 comments
Closed

Unhandled 'error' event #53

pro-sumer opened this issue Sep 23, 2020 · 2 comments
Labels

Comments

@pro-sumer
Copy link

On feed http://tweakers.net/feeds/meuktracker.xml I got the error below (on 23-Sep-2020 11:56:15):

events.js:292
      throw er; // Unhandled 'error' event
      ^
Error [ERR_STREAM_WRITE_AFTER_END]: write after end
    at writeAfterEnd (_stream_writable.js:266:14)
    at PassThrough.Writable.write (_stream_writable.js:315:5)
    at Gunzip.ondata (_stream_readable.js:716:22)
    at Gunzip.emit (events.js:315:20)
    at addChunk (_stream_readable.js:295:12)
    at readableAddChunk (_stream_readable.js:271:9)
    at Gunzip.Readable.push (_stream_readable.js:212:10)
    at Gunzip.Transform.push (_stream_transform.js:152:32)
    at Zlib.processCallback (zlib.js:531:10)
Emitted 'error' event on FeedReader instance at:
    at error (/home/pi/test/node_modules/feedsub/lib/feedsub.js:121:16)
    at PassThrough.emit (events.js:327:22)
    at errorOrDestroy (internal/streams/destroy.js:108:12)
    at writeAfterEnd (_stream_writable.js:268:3)
    at PassThrough.Writable.write (_stream_writable.js:315:5)
    [... lines matching original stack trace ...]
    at Gunzip.Readable.push (_stream_readable.js:212:10) {
  code: 'ERR_STREAM_WRITE_AFTER_END'
}
@pro-sumer
Copy link
Author

Happened again on 23-Sep-2020 21:32:54.

Unfortunately the log does not show for which feed entry, so I hope the timestamp helps in debugging.

@fent
Copy link
Owner

fent commented Sep 28, 2020

this may be caused by miniget, i've seen it before in another project that uses it. i'll have to investigate miniget's code.

@fent fent added the bug label Sep 28, 2020
@fent fent closed this as completed in 51b267d Nov 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants