Ssl handshake failed
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 304
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 37
Description
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1725536788.069320 12131471 ssl_transport_security.cc:1654] Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
E0000 00:00:1725536788.336742 12131479 ssl_transport_security.cc:1654] Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
Traceback (most recent call last):
File "/opt/homebrew/Cellar/python@3.10/3.10.14/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/homebrew/Cellar/python@3.10/3.10.14/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/Users/tekumara/code/qdrant-demo/src/demo/download.py", line 86, in <module>
main()
File "/Users/tekumara/code/qdrant-demo/src/demo/download.py", line 80, in main
payloads = download_payloads(qc, args.collection_name, args.limit, args.batch_size)
File "/Users/tekumara/code/qdrant-demo/src/demo/download.py", line 23, in download_payloads
search_result, next_offset = qc.scroll(
File "/Users/tekumara/code/qdrant-demo/.venv/lib/python3.10/site-packages/qdrant_client/qdrant_client.py", line 1094, in scroll
return self._client.scroll(
File "/Users/tekumara/code/qdrant-demo/.venv/lib/python3.10/site-packages/qdrant_client/qdrant_remote.py", line 1406, in scroll
res: grpc.ScrollResponse = self.grpc_points.Scroll(
File "/Users/tekumara/code/qdrant-demo/.venv/lib/python3.10/site-packages/grpc/_interceptor.py", line 277, in __call__
response, ignored_call = self._with_call(
File "/Users/tekumara/code/qdrant-demo/.venv/lib/python3.10/site-packages/grpc/_interceptor.py", line 332, in _with_call
return call.result(), call
File "/Users/tekumara/code/qdrant-demo/.venv/lib/python3.10/site-packages/grpc/_channel.py", line 440, in result
raise self
File "/Users/tekumara/code/qdrant-demo/.venv/lib/python3.10/site-packages/grpc/_interceptor.py", line 315, in continuation
response, call = self._thunk(new_method).with_call(
File "/Users/tekumara/code/qdrant-demo/.venv/lib/python3.10/site-packages/grpc/_channel.py", line 1198, in with_call
return _end_unary_response_blocking(state, call, True, None)
File "/Users/tekumara/code/qdrant-demo/.venv/lib/python3.10/site-packages/grpc/_channel.py", line 1006, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:6334: Ssl handshake failed (TSI_PROTOCOL_FAILURE): SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER"
debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:6334: Ssl handshake failed (TSI_PROTOCOL_FAILURE): SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER", grpc_status:14, created_time:"2024-09-05T21:46:28.338722+10:00"}"
qdrant-client==1.10.0
grpcio==1.66.1
grpcio-tools==1.66.1
qdrant server 1.7.3
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.
Research direction
Start with src/demo/download.py, especially main() and download_payloads(), and reproduce the scroll call against 127.0.0.1:6334 using the reported qdrant-client, grpcio, and Qdrant server versions. Inspect how the client connects to the local server and determine the expected TLS configuration; done means the reported download completes without the SSL handshake failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100