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

Investigate web3 event listener cancellation and termination errors #455

Closed
bgins opened this issue Nov 27, 2024 · 0 comments · Fixed by #456
Closed

Investigate web3 event listener cancellation and termination errors #455

bgins opened this issue Nov 27, 2024 · 0 comments · Fixed by #456

Comments

@bgins
Copy link
Contributor

bgins commented Nov 27, 2024

General Description

We have been seeing some errors reported on cancellation or program termination as of #432. Let's see if we are handling cleanup correctly and what we can do about the errors.

Which system(s) or functionality does this affect

This change affects the job creators, resource providers, mediator, and solver. It also interacts with the web3 protocol, but nothing needs to change in the protocol.

Describe the changes, and how this affects/ interacts with each system.

We have been seeing errors on shutting down services like:

^C2024-11-27T09:32:45-08:00 ERR ../../../../../usr/local/go/src/runtime/asm_arm64.s:1223 > error starting listeners: cancel by context reconnect in 2 seconds
2024-11-27T09:32:45-08:00 ERR ../../../../../usr/local/go/src/runtime/asm_arm64.s:1223 > error starting listeners: cancel by context reconnect in 2 seconds
2024-11-27T09:32:45-08:00 ERR ../../../../../usr/local/go/src/runtime/asm_arm64.s:1223 > error starting listeners: cancel by context reconnect in 2 seconds
2024-11-27T09:32:45-08:00 ERR ../../../../../usr/local/go/src/runtime/asm_arm64.s:1223 > error starting listeners: cancel by context reconnect in 2 seconds
2024-11-27T09:32:45-08:00 ERR ../../../../../usr/local/go/src/runtime/asm_arm64.s:1223 > error starting listeners: cancel by context reconnect in 2 seconds
2024-11-27T09:32:45-08:00 ERR ../../../../../usr/local/go/src/runtime/asm_arm64.s:1223 > error starting listeners: cancel by context reconnect in 2 seconds

We have also been seeing errors at program termination when running the CLI run command:

2024-11-27T09:33:37-08:00 ERR ../../../../../usr/local/go/src/runtime/asm_arm64.s:1223 > error starting listeners: cancel by mediation MediationRequested event subscribe error %!w(<nil>) reconnect in 2 seconds
2024-11-27T09:33:37-08:00 ERR ../../../../../usr/local/go/src/runtime/asm_arm64.s:1223 > error starting listeners: cancel by mediation MediationRequested event subscribe error %!w(<nil>) reconnect in 2 seconds
2024-11-27T09:33:37-08:00 ERR ../../../../../usr/local/go/src/runtime/asm_arm64.s:1223 > error starting listeners: cancel by storage DealStateChange event subscribe error %!w(<nil>) reconnect in 2 seconds
2024-11-27T09:33:37-08:00 ERR ../../../../../usr/local/go/src/runtime/asm_arm64.s:1223 > error starting listeners: cancel by token Transfer event subscribe error %!w(<nil>) reconnect in 2 seconds
2024-11-27T09:33:37-08:00 ERR ../../../../../usr/local/go/src/runtime/asm_arm64.s:1223 > error starting listeners: cancel by job JobAdded event subscribe error %!w(<nil>) reconnect in 2 seconds
2024-11-27T09:33:37-08:00 ERR ../../../../../usr/local/go/src/runtime/asm_arm64.s:1223 > error starting listeners: cancel by pow newPowRound event subscribe error %!w(<nil>) reconnect in 2 seconds

Let's investigate these errors and decide what to do about them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant