Passing token directly to GRPCClient causes error
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start with cloudvision_chatbot/test.py, especially the call to GRPCClient and client.get(query), then inspect cloudvision/Connector/grpc_client/grpcClient.py around the stream handling shown in the traceback. Reproduce the direct-token case against the relevant CloudVision service and determine why the RPC cannot connect; done means the same request completes without the UNAVAILABLE error.
Written by the indexing model from the issue text.
Description
When passing a token string directly to GRPCClient, I get an error from RPC.
Traceback (most recent call last):
File "/opt/nautobot/plugins/cloudvision_chatbot/cloudvision_chatbot/test.py", line 28, in <module>
test_test = test()
File "/opt/nautobot/plugins/cloudvision_chatbot/cloudvision_chatbot/test.py", line 21, in test
for batch in client.get(query):
File "/opt/nautobot/lib/python3.9/site-packages/cloudvision/Connector/grpc_client/grpcClient.py", line 197, in <genexpr>
return (self.decode_batch(nb) for nb in stream)
File "/opt/nautobot/lib/python3.9/site-packages/grpc/_channel.py", line 426, in __next__
return self._next()
File "/opt/nautobot/lib/python3.9/site-packages/grpc/_channel.py", line 826, in _next
raise self
grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses"
debug_error_string = "{"created":"@1624296069.697848021","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":3008,"referenced_errors":[{"created":"@1624296069.697841974","description":"failed to connect to all addresses","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":397,"grpc_status":14}]}"
- Dominant language
- Python
- Stars
- 37
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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 aristanetworks/cloudvision-python
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
aristanetworks/cloudvision-python#23 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
aristanetworks/cloudvision-python#12 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
aristanetworks/cloudvision-python#1 · 1 comment ·
All issues in aristanetworks/cloudvision-python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Openarea: ci bug perceived difficulty: 3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ClickHouse/clickhouse-connect#1057 ·