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

How does the script connect to encrypted zk #121

Open
narcissus1024 opened this issue Oct 10, 2023 · 0 comments
Open

How does the script connect to encrypted zk #121

narcissus1024 opened this issue Oct 10, 2023 · 0 comments

Comments

@narcissus1024
Copy link

When I connect to an encrypted zk, I get the following error:

ERROR:kazoo.client:Unhandled exception in connection loop
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/kazoo/protocol/connection.py", line 602, in _connect_attempt
response = self._read_socket(read_timeout)
File "/usr/local/lib/python3.9/dist-packages/kazoo/protocol/connection.py", line 453, in _read_socket
return self._read_response(header, buffer, offset)
File "/usr/local/lib/python3.9/dist-packages/kazoo/protocol/connection.py", line 391, in _read_response
callback_exception = EXCEPTIONSheader.err
File "/usr/local/lib/python3.9/dist-packages/kazoo/exceptions.py", line 54, in _invalid_error_code
raise RuntimeError('Invalid error code')
RuntimeError: Invalid error code
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.9/dist-packages/kazoo/protocol/connection.py", line 512, in zk_loop
if retry(self._connect_loop, retry) is STOP_CONNECTING:
File "/usr/local/lib/python3.9/dist-packages/kazoo/retry.py", line 126, in call
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/kazoo/protocol/connection.py", line 552, in _connect_loop
status = self._connect_attempt(host, hostip, port, retry)
File "/usr/local/lib/python3.9/dist-packages/kazoo/protocol/connection.py", line 602, in _connect_attempt
response = self._read_socket(read_timeout)
File "/usr/local/lib/python3.9/dist-packages/kazoo/protocol/connection.py", line 453, in _read_socket
return self._read_response(header, buffer, offset)
File "/usr/local/lib/python3.9/dist-packages/kazoo/protocol/connection.py", line 391, in _read_response
callback_exception = EXCEPTIONSheader.err
File "/usr/local/lib/python3.9/dist-packages/kazoo/exceptions.py", line 54, in _invalid_error_code
raise RuntimeError('Invalid error code')
RuntimeError: Invalid error code

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

No branches or pull requests

1 participant