-
Notifications
You must be signed in to change notification settings - Fork 387
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
ConnectionLoss when reading large data over SSL #618
Comments
jeblair
pushed a commit
to jeblair/kazoo
that referenced
this issue
Jun 22, 2020
This adds a simple recovery path in case an SSL connection receives an SSL_WANT_READ or WRITE error. Either error can occur while reading or writing. The error indicates that the underlying operation should be retried after the socket is once again readable or writable (per the error code). Fixes python-zk#618
jeblair
pushed a commit
to jeblair/kazoo
that referenced
this issue
Jun 22, 2020
This adds a simple recovery path in case an SSL connection receives an SSL_WANT_READ or WRITE error. Either error can occur while reading or writing. The error indicates that the underlying operation should be retried after the socket is once again readable or writable (per the error code). Closes python-zk#618
jeblair
pushed a commit
to jeblair/kazoo
that referenced
this issue
Jun 26, 2020
This adds a simple recovery path in case an SSL connection receives an SSL_WANT_READ or WRITE error. Either error can occur while reading or writing. The error indicates that the underlying operation should be retried after the socket is once again readable or writable (per the error code). Closes python-zk#618
jeblair
pushed a commit
to jeblair/kazoo
that referenced
this issue
Jun 26, 2020
This adds a simple recovery path in case an SSL connection receives an SSL_WANT_READ or WRITE error. Either error can occur while reading or writing. The error indicates that the underlying operation should be retried after the socket is once again readable or writable (per the error code). Closes python-zk#618
StephenSorriaux
pushed a commit
that referenced
this issue
Jun 27, 2020
This adds a simple recovery path in case an SSL connection receives an SSL_WANT_READ or WRITE error. Either error can occur while reading or writing. The error indicates that the underlying operation should be retried after the socket is once again readable or writable (per the error code). Closes #618 Co-authored-by: James E. Blair <jeblair@redhat.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using kazoo 2.7.0 or git master, I observe the following error
when calling get_children on a node with 8280 children when using
TLS:
By removing the exception masking in _socket_error_handling I'm
able to see the underlying exception:
The OpenSSL documentation indicates that when we receive this, we should call the function
again when the underlying socket is readable. The same thing is
true for writing as well.
It is possible this bug is related to issues #587 and #580 as well.
The text was updated successfully, but these errors were encountered: