Skip to content
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

SSL timeout with kinetic-py for ASync client #33

Open
nehajs opened this issue Aug 10, 2015 · 1 comment
Open

SSL timeout with kinetic-py for ASync client #33

nehajs opened this issue Aug 10, 2015 · 1 comment

Comments

@nehajs
Copy link

nehajs commented Aug 10, 2015

I am unable to do any async operations on SSL as Client timeouts while connecting (issue : #32) . I tried using SecureClient but it doesn't support Async operations.

from kinetic import *
c=SecureClient('172.20.1.31')
c.put('k1','v1')
c.putAsync('k2','v2')
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'SecureClient' object has no attribute 'putAsync'

How can be the async operations be ran with SSL in kinetic-py?
Is SecureClient going to support Async operations?

Thanks,
Neha

@icorderi
Copy link
Member

@nehajs that's correct, the SecureClient doesn't support Async operations. Eventlet green sockets stopped working with python >= 2.7.9 (eventlet#221) so when I coded SecureClient I left it as blocking only until the Eventlet issue is resolved.

You can drop to python 2.7.8 if you really want to do puts over SSL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants