[Question] Several "Unable to poll" errors multiple times per day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- grpc, ruby
- Domain
- backend, distributed-systems
Research direction
Start with the workflow and activity task-queue polling paths described in the issue, using temporal-ruby revision 3e0dae708ec0e3eab8c44b57b64f5cd1881848e6 with grpc 1.59.2. No files or tests are named; done means identifying whether the recurring Socket closed errors are expected and documenting their cause or mitigation.
Written by the indexing model from the issue text.
Description
Hey folks,
We've been using this ruby for quite a while, 1 year I would say and since then, we've been seeing a lot of "Unable to poll" errors. For example, last week, there were 700 of those for one of our service. This affects all our different using this sdk.
Unable to poll Workflow task queue
#<GRPC::Unavailable: 14:Socket closed. debug_error_string:{UNKNOWN:Error received from peer {grpc_message:"Socket closed", grpc_status:14, created_time:"2024-03-19T14:52:38.963074635+00:00"}}>
And this
Unable to poll activity task queue
#<GRPC::Unavailable: 14:Socket closed. debug_error_string:{UNKNOWN:Error received from peer {created_time:"2024-03-19T14:52:38.963058558+00:00", grpc_status:14, grpc_message:"Socket closed"}}>
Would someone have an idea of what might be causing those errors? Are they "normal" or expected from time to time within Temporal? We don't have a fancy configuration or anything we mostly use the default config and we use 20 as the thread pool size for both activity and workflow. I can share more relevant details if needed.
Note, this error doesn't cause any of our activities or workflows to fail, it just happens once every now and then and recovers.
temporal-ruby + grpc version
GIT
remote: https://github.com/coinbase/temporal-ruby
revision: 3e0dae708ec0e3eab8c44b57b64f5cd1881848e6
grpc (1.59.2)
- Dominant language
- Ruby
- Stars
- 287
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from coinbase/temporal-ruby
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
coinbase/temporal-ruby#361 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
coinbase/temporal-ruby#341 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
coinbase/temporal-ruby#328 · 1 comment ·
-
NoMethodError when await_workflow_result is called for long running workflowsPossibly taken @iekundayo claimed this 717 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
coinbase/temporal-ruby#326 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
coinbase/temporal-ruby#324 · 3 comments · 2 reactions ·
All issues in coinbase/temporal-ruby
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 Half a day Newbie friendliness 72/100
TheOdinProject/curriculum#31479 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
taskcluster/taskcluster#9284 · 1 comment ·
Maintainers usually reply within 1 day
-
Class option relations are appended to the command on every runPossibly taken @auraseb claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100