Skip to content

Asyncio backend: SSL doesn't work #330

Closed

Description

@Lorak-mmk

When using AsyncioConnection it's not possible to connect to Scylla using SSL - the connection hangs and eventually timeouts.
The issue is that asyncio methods like sock_sendall don't work with SSLSocket - they explicitly check the type of the socket here (definition of this function)
Another issue is that this exception is swallowed somewhere, so we don't see it in the terminal - there probably should be a catch-all block that prints the exception.

The solution would probably be to rework AsyncioConnection.__init__ and other methods a bit to use https://docs.python.org/3/library/asyncio-stream.html#asyncio.open_connection

Activity

  1. added
    bug
    on Jun 6, 2024
  2. added 5 commits that reference this issue on May 11, 2026
    c4b4b48
    99e7245
    88ad30a
    f214f8b
    537ddd5
  3. added a commit that references this issue on May 22, 2026
    a0eb304
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions