I get the following;
12-24 08:36:01.122 3291-3291/com.example.lee.printticket W/System.err: javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x6ab8d020: Failure in SSL library, usually a protocol error
12-24 08:36:01.122 3291-3291/com.example.lee.printticket W/System.err: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:744 0x6847ece0:0x00000000)
12-24 08:36:01.123 3291-3291/com.example.lee.printticket W/System.err: at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:449)
12-24 08:36:01.124 3291-3291/com.example.lee.printticket W/System.err: at android.net.SSLCertificateSocketFactory.verifyHostname(SSLCertificateSocketFactory.java:190)
12-24 08:36:01.124 3291-3291/com.example.lee.printticket W/System.err: at android.net.SSLCertificateSocketFactory.createSocket(SSLCertificateSocketFactory.java:435)
12-24 08:36:01.124 3291-3291/com.example.lee.printticket W/System.err: at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:291)
12-24 08:36:01.124 3291-3291/com.example.lee.printticket W/System.err: at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:281)
12-24 08:36:01.124 3291-3291/com.example.lee.printticket W/System.err: at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:124)
12-24 08:36:01.125 3291-3291/com.example.lee.printticket W/System.err: at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:318)
12-24 08:36:01.125 3291-3291/com.example.lee.printticket W/System.err: at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:373)
12-24 08:36:01.125 3291-3291/com.example.lee.printticket W/System.err: at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:225)
12-24 08:36:01.125 3291-3291/com.example.lee.printticket W/System.err: at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
12-24 08:36:01.126 3291-3291/com.example.lee.printticket W/System.err: at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
12-24 08:36:01.126 3291-3291/com.example.lee.printticket W/System.err: at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
12-24 08:36:01.126 3291-3291/com.example.lee.printticket W/System.err: at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:178)
12-24 08:36:01.126 3291-3291/com.example.lee.printticket W/System.err: at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
12-24 08:36:01.126 3291-3291/com.example.lee.printticket W/System.err: at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
I found the following article on google; http://stackoverflow.com/questions/29... which suggests it's a bug in android versions < 4.4... but afaik the Clover devices runs 4.4? Also the solution looks a bit beyond my current Java expertise. Is there a simple device specific configurable i've missed? Is there an alternate library I would be better using? (making simple HTTP get API calls).
Thanks