-
Notifications
You must be signed in to change notification settings - Fork 40
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
cqlsh on Python 3.13 (Fedora 41) not able to connect with ssl #108
Comments
|
@elcallio maybe you have some ideas about this |
It probably defaulted to Asyncio event loop in python driver, which does not work with SSL. It should work if you install libev (unless cqlsh manually selects the asyncio impl). cc @fruch |
We should disable the fallback to asyncio, as I was trying to do in my PR to sync with upstream. Also if we had release wheels for 3.13, it would also avoided |
as @Lorak-mmk mentioned, this is probably @avikivity if it's for the toolchain, the quickest way around it, is to install @Lorak-mmk we still need sync with upstream logic as suggested in scylladb/python-driver#312 also we should release wheels for 3.13 |
Thanks, I'll try that |
Doesn't appear to work. Does the last released driver support libev? |
No, user error here. |
Now I get: Connection error: ('Unable to connect to any servers', {'127.0.0.1:9042': PermissionError(1, "Tried connecting to [('127.0.0.1', 9042)]. Last error: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1018)")}) |
We have a test case that is supposed to cover that Can you share how scylla is configured ? |
Does the test run with cqlsh/driver using Python 3.13? It fails for me (scylladb/scylladb#22380).
6c1c05af5a700d60b408ac7b89ed6891014dddc3 built on Fedora 41 (Python 3.13). |
I've tested it locally with python 3.13, and everything was working as expected (those dtest passed) I would assume some other parts of the system inside dbuild that were used to built are slightly different |
I ran cqlsh after installing libev-devel and reinstalling the driver with pip. It doesn't look like it's used.
|
Trying setup.py directly:
|
Please update the driver to 3.28.2. |
The connection just hangs.
The text was updated successfully, but these errors were encountered: