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

task.error() gives ServerError: Job given in work result not found #44

Open
ghost opened this issue Nov 14, 2016 · 1 comment
Open

task.error() gives ServerError: Job given in work result not found #44

ghost opened this issue Nov 14, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 14, 2016

In case of error I want to use task.error() to handle this. It happens (not always), that the following error occurs. Only one worker is registered.

events.js:160
      throw er; // Unhandled 'error' event
      ^
ServerError: Job given in work result not found
    at .../abraxas/client-connection.js:27:32
    at PassThrough.<anonymous> (.../node_modules/abraxas/stream-to-buffer.js:8:51)
    at PassThrough.g (events.js:292:16)
    at emitNone (events.js:91:20)
    at PassThrough.emit (events.js:185:7)
    at endReadableNT (.../node_modules/readable-stream/lib/_stream_readable.js:926:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Seems something tried to send an additional end or something.

Any suggestion for that? Thanks.

@monquixote
Copy link

I'm having the same issue

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

1 participant