Summary
SSL wrong version number error when testing Qdrant hosted version as a destination
Question
Hmm strange new error. I’m trying to connect qdrant (hosted version) as a destination.
But when I try to test the destination, I have that :
[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1007) Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions yield File "/usr/local/lib/python3.10/site-packages/httpx/_transports/default.py", line 233, in handle_request resp = self._pool.handle_request(req) File "/usr/local/lib/python3.10/site-packages/httpcore/_sync/connection_pool.py", line 216, in handle_request raise exc from None File "/usr/local/lib/python3.10/site-packages/httpcore/_sync/connection_pool.py", line 196, in handle_request response = connection.handle_request( File "/usr/local/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 99, in handle_request raise exc File "/usr/local/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 76, in handle_request stream = self._connect(request) File "/usr/local/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 154, in _connect stream = stream.start_tls(**kwargs) File "/usr/local/lib/python3.10/site-packages/httpcore/_backends/sync.py", line 152, in start_tls with map_exceptions(exc_map): File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__ self.gen.throw(typ, value, traceback) File "/usr/local/lib/python3.10/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ConnectError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1007) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/qdrant_client/http/api_client.py", line 106, in send_inner response = self._client.send(request) File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 914, in send response = self._send_handling_auth( File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 942, in _send_handling_auth response = self._send_handling_redirects( File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 979, in _send_handling_redirects response = self._send_single_request(request) File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1015, in _send_single_request response = transport.handle_request(request) File "/usr/local/lib/python3.10/site-packages/httpx/_transports/default.py", line 232, in handle_request with map_httpcore_exceptions(): File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__ self.gen.throw(typ, value, traceback) File "/usr/local/lib/python3.10/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ConnectError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1007) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/airbyte/integration_code/destination_qdrant/indexer.py", line 44, in check available_collections = [collection.name for collection in self._client.get_collections().collections] File "/usr/local/lib/python3.10/site-packages/qdrant_client/qdrant_client.py", line 1742, in get_collections return self._client.get_collections(**kwargs) File "/usr/local/lib/python3.10/site-packages/qdrant_client/qdrant_remote.py", line 2223, in get_collections self.http.collections_api.get_collections().result File "/usr/local/lib/python3.10/site-packages/qdrant_client/http/api/collections_api.py", line 1335, in get_collections return self._build_for_get_collections() File "/usr/local/lib/python3.10/site-packages/qdrant_client/http/api/collections_api.py", line 432, in _build_for_get_collections return self.api_client.request( File "/usr/local/lib/python3.10/site-packages/qdrant_client/http/api_client.py", line 79, in request return self.send(request, type_) File "/usr/local/lib/python3.10/site-packages/qdrant_client/http/api_client.py", line 96, in send response = self.middleware(request, self.send_inner) File "/usr/local/lib/python3.10/site-packages/qdrant_client/http/api_client.py", line 205, in __call__ return call_next(request) File "/usr/local/lib/python3.10/site-packages/qdrant_client/http/api_client.py", line 108, in send_inner raise ResponseHandlingException(e) qdrant_client.http.exceptions.ResponseHandlingException: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1007)
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.