Skip to content

SSLProtocol stalled during handshake #161

Closed
@hynek

Description

@hynek
  • uvloop version:

0.10.0, doesn’t happen with 0.9.1

  • Python version:

3.6.5

  • Platform:

Ubuntu Xenial/Docker

  • Can you reproduce the bug with PYTHONASYNCIODEBUG in env?:

Yes, but I get no additional output.


I have to communicate with a super-slow endpoint and since 0.10.0, the connection doesn’t go thru and aborts before the timeout I specify.

Stdout gets a string like: <uvloop.loop.SSLProtocol object at 0x7f227a1a1048> stalled during handshake. It seems like there’s a second timeout in play? I did measure the handshake by hand I would guess something around 5s.

Downgrading back to 0.9.1 fixes the problem.

P.S. Bonus bug I cannot handily reproduce: sometimes I saw an AttributeError about errno not being on CertificateError or something like that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions