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

Zeebe worker does not continue to process tasks after Zeebe is restarted #213

Closed
ivanmerxx opened this issue Sep 9, 2021 · 1 comment
Closed
Labels
3.0.0 Will be released in Zeebe 3.0.0 bug Something isn't working

Comments

@ivanmerxx
Copy link

Hello, when the Zeebe is restarted the Zeebe worker ends with an error. Is it an expected behaviour or it should continue to process the tasks after the Zeebe is up again?

i use pyzeebe client version v3.0.0rc3

To Reproduce
Start zeebe + zeebe worker
Stop zeebe
Worker ends with an exception:
grpc.aio._call.AioRpcError: <AioRpcError of RPC that terminated with: status = StatusCode.CANCELLED details = "Received RST_STREAM with error code 8" debug_error_string = "{"created":"@<masked>","description":"Error received from peer ipv4:<maskedip>","file":"src/core/lib/surface/call.cc","file_line":<masked>,"grpc_message":"Received RST_STREAM with error code 8","grpc_status":1}"

Possible fix
Start catching the exception as the ones in the job_poller.poll_once where the ZeebeBackPressureError, ZeebeGatewayUnavailableError, ZeebeInternalError are.

@JonatanMartens JonatanMartens added the bug Something isn't working label Sep 10, 2021
@JonatanMartens JonatanMartens added the 3.0.0 Will be released in Zeebe 3.0.0 label Sep 10, 2021
@JonatanMartens
Copy link
Collaborator

Fixed in v3.0.0rc4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0.0 Will be released in Zeebe 3.0.0 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants