Skip to content
This repository was archived by the owner on Jul 28, 2022. It is now read-only.
This repository was archived by the owner on Jul 28, 2022. It is now read-only.

Example failed to run. Error grpc._channel._MultiThreadedRendezvous #49

@dmknght

Description

@dmknght

Describe the bug

All examples showed error

Traceback (most recent call last):
  File "/home/test/Desktop/client-py/examples/unixsocket_get_events.py", line 12, in <module>
    for event in c.get():
  File "/usr/local/lib/python3.9/dist-packages/falco-0.4.0-py3.9.egg/falco/client.py", line 53, in get
    for pb_resp in responses:
  File "/usr/local/lib/python3.9/dist-packages/grpcio-1.26.0-py3.9-linux-x86_64.egg/grpc/_channel.py", line 416, in __next__
    return self._next()
  File "/usr/local/lib/python3.9/dist-packages/grpcio-1.26.0-py3.9-linux-x86_64.egg/grpc/_channel.py", line 703, 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":"@1658970659.637958797","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":3940,"referenced_errors":[{"created":"@1658970659.637956623","description":"failed to connect to all addresses","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":392,"grpc_status":14}]}"
>

How to reproduce it

  1. Clone this repository
  2. Install plugin sudo python3 setup.py install
  3. Run examples: python3 examples/<any example script>

Expected behaviour

Example should run without any error.

Environment

  • Falco version: 0.32.1
  • System info:
Wed Jul 27 21:12:51 2022: Falco version 0.32.1
Wed Jul 27 21:12:51 2022: Falco initialized with configuration file /etc/falco/falco.yaml
Wed Jul 27 21:12:51 2022: Loading rules from file /etc/falco/falco_rules.yaml:
Wed Jul 27 21:12:52 2022: Loading rules from file /etc/falco/falco_rules.local.yaml:
{
  "machine": "x86_64",
  "nodename": "test-virtualbox",
  "release": "5.18.0-0.bpo.1-amd64",
  "sysname": "Linux",
  "version": "#1 SMP PREEMPT_DYNAMIC Debian 5.18.2-1~bpo11+1 (2022-06-14)"
}
  • Cloud provider or hardware configuration: Testing inside Virtual Box
  • OS:
PRETTY_NAME="Parrot OS 5.0 (Electric Ara)"
NAME="Parrot OS"
VERSION_ID="5.0"
VERSION="5.0 (Electric Ara)"
VERSION_CODENAME=ara
ID=parrot
ID_LIKE=debian
HOME_URL="https://www.parrotsec.org/"
SUPPORT_URL="https://community.parrotsec.org/"
BUG_REPORT_URL="https://community.parrotsec.org/"
  • Kernel:
    Linux test-virtualbox 5.18.0-0.bpo.1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.2-1~bpo11+1 (2022-06-14) x86_64 GNU/Linux
  • Installation method: Deb package

Additional context

Python3 version: 3.9.2-3 (Debian package)
grpcio version: 1.26.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions