So I am able to send messages using apns_client ( more so lately using apns_clerk because of the ssl error)
But now i need to use eventlet to make is nonblocking.
so i was suggested to go and monkeypatch all the libraries in the very beginning.
so i do
import eventlet eventlet.monkey_patch()
the problem is now i get this error and am not able to send messages:-
' WARNING:apns_clerk.backends.stdio:Failed to establish socket/SSL connection to ('gateway.sandbox.push.apple.com', 2195) Traceback (most recent call last): File "build/bdist.linux-x86_64/egg/apns_clerk/backends/stdio.py", line 168, in _open_connection self._connect_and_handshake() File "build/bdist.linux-x86_64/egg/apns_clerk/backends/stdio.py", line 205, in _connect_and_handshake self._connection.do_handshake() WantReadError'