You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the python-sdk for connecting to a Database (in this case PGSQL), that's exposed as a service in the OpenZiti Overlay.
Pure Python libraries such as PG8000, complanins with an exception:
2023-09-11 07:31:27,891 - Error connecting to the database Traceback (most recent call last): File "/app/server/api-server.py", line 101, in get_db_connection conn = pg8000.connect( File "/usr/local/lib/python3.9/site-packages/pg8000/__init__.py", line 111, in connect return Connection( File "/usr/local/lib/python3.9/site-packages/pg8000/legacy.py", line 443, in __init__ super().__init__(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/pg8000/core.py", line 312, in __init__ self.channel_binding, self._usock = _make_socket( File "/usr/local/lib/python3.9/site-packages/pg8000/core.py", line 199, in _make_socket sock = socket.create_connection((host, port), timeout, source_address) TypeError: create_ziti_connection() takes 1 positional argument but 3 were given 2023-09-11 07:31:27,892 - General error: create_ziti_connection() takes 1 positional argument but 3 were given
Tested using openziti>=0.7.1.
The text was updated successfully, but these errors were encountered:
When using the python-sdk for connecting to a Database (in this case PGSQL), that's exposed as a service in the OpenZiti Overlay.
Pure Python libraries such as PG8000, complanins with an exception:
2023-09-11 07:31:27,891 - Error connecting to the database Traceback (most recent call last): File "/app/server/api-server.py", line 101, in get_db_connection conn = pg8000.connect( File "/usr/local/lib/python3.9/site-packages/pg8000/__init__.py", line 111, in connect return Connection( File "/usr/local/lib/python3.9/site-packages/pg8000/legacy.py", line 443, in __init__ super().__init__(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/pg8000/core.py", line 312, in __init__ self.channel_binding, self._usock = _make_socket( File "/usr/local/lib/python3.9/site-packages/pg8000/core.py", line 199, in _make_socket sock = socket.create_connection((host, port), timeout, source_address) TypeError: create_ziti_connection() takes 1 positional argument but 3 were given 2023-09-11 07:31:27,892 - General error: create_ziti_connection() takes 1 positional argument but 3 were given
Tested using openziti>=0.7.1.
The text was updated successfully, but these errors were encountered: