javax.net.ssl.SSLHandshakeException: error:14141152:SSL routines:SSL_SCAN_SERVERHELLO_TLSEXT:unsafe legacy renegotiation disabled
at io.netty.handler.ssl.ReferenceCountedOpenSslEngine.sslReadErrorResult(ReferenceCountedOpenSslEngine.java:912)
<dependency>
<groupId>com.relayrides</groupId>
<artifactId>pushy</artifactId>
<exclusions>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty-codec-http2</artifactId>
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty-handler-proxy</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative</artifactId>
<version>2.0.0.Final</version>
<classifier>${io.netty.tcnative.classifier}</classifier>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.1.9.Final</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.alpn</groupId>
<artifactId>alpn-api</artifactId>
<version>1.1.3.v20160715</version>
<scope>runtime</scope>
</dependency>
--
Pushy is an open-source Java library for sending APNs (iOS and OS X) push notifications. Pushy is brought to you by the engineers at RelayRides.
---
You received this message because you are subscribed to the Google Groups "pushy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pushy-apns+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Using SSLEngineImpl.Allow unsafe renegotiation: falseAllow legacy hello messages: trueIs initial handshake: trueIs secure renegotiation: falseNo available cipher suite for TLSv1No available cipher suite for TLSv1.1No available cipher suite for TLSv1.2nioEventLoopGroup-3-1, fatal error: 40: Couldn't kickstart handshakingjavax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)nioEventLoopGroup-3-1, SEND TLSv1 ALERT: fatal, description = handshake_failurenioEventLoopGroup-3-1, WRITE: TLSv1 Alert, length = 2INFO 2017-03-29 14:38:33,650 [nioEventLoopGroup-3-1] com.relayrides.pushy.apns.ApnsClient: Failed to connect.javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) at sun.security.ssl.Handshaker.activate(Handshaker.java:470) at sun.security.ssl.SSLEngineImpl.kickstartHandshake(SSLEngineImpl.java:714) at sun.security.ssl.SSLEngineImpl.beginHandshake(SSLEngineImpl.java:740) at io.netty.handler.ssl.JdkSslEngine.beginHandshake(JdkSslEngine.java:147)
To unsubscribe from this group and stop receiving emails from it, send an email to pushy-apns+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to pushy-apns+unsubscribe@googlegroups.com.
I am getting the below error:
io.netty.handler.ssl.ApplicationProtocolNegotiationHandler handshakeFailure
WARNING: [id: 0x9e45a0f6, L:/10.232.100.14:61460 - R:api.development.push.apple.com/17.188.166.27:443] TLS handshake failed:
javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
at sun.security.ssl.Handshaker.activate(Handshaker.java:470)
I am using Java version: 1.7.0_80
and here are the dependencies in pom.xml.
<dependency>
<groupId>com.relayrides</groupId>
<artifactId>pushy</artifactId>
<version>0.9.2</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.alpn</groupId>
<artifactId>alpn-api</artifactId>
<version>1.1.0.v20141014</version>
</dependency>
<dependency>
<groupId>org.mortbay.jetty.alpn</groupId>
<artifactId>alpn-boot</artifactId>
<version>7.1.0.v20141016</version>
</dependency>
Any help is appreciated, which version of alpn-api and alpn-boot will work for Java version: 1.7.0_80.
Thanks,
Murali Balusa
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative-boringssl-static</artifactId>
<version>2.0.0.Final</version>
</dependency>