'SSL23_GET_CLIENT_HELLO', 'unknown protocol'
I get the following error when a client connects to the proxy:
2015-08-05 12:45:23+0200 [#0] New connection from 192.168.1.83:49355
2015-08-05 12:45:27+0200 Unable to connect to peer: [Failure instance: Traceback: <class 'OpenSSL.SSL.Error'>: [('SSL routines', 'SSL23_GET_CLIENT_HELLO', 'unknown protocol')]
What gives?
Which OS (incl. version) on the device and which openssl version on the server are you using?
My first guess is that you're using iOS 9 or OS X 10.11, which both require TLS 1.2 with forward secrecy and your OpenSSL version or pushproxy doesn't support that.
iOS 8.4 (12H143), OS X 10.10.4 and openssl-1.0.2c from homebrew.
I don't have access to a jailbroken iOS 8.4 device at the moment, so it would be great if you could help out with debugging.
Can you enable debug logging for the push daemon on your iOS device and see what you can find in the resulting log?