Hi, I have done as suggested, still it didn't fall through to the catch block, but I noticed the server's debug log had something new in it.
io.netty.handler.ssl.OpenSsl - Failed to load netty-tcnative
; OpenSslEngine will be unavailable, unless the application has already loaded t
he symbols by some other means. See
http://netty.io/wiki/forked-tomcat-native.html for more information.
java.lang.IllegalArgumentException: Failed to load any of the given libraries: [
netty-tcnative-linux-x86_64, netty-tcnative-linux-x86_64-fedora, netty-tcnative]
at io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeL
ibraryLoader.java:173)
at io.netty.handler.ssl.OpenSsl.loadTcNative(OpenSsl.java:380)
at io.netty.handler.ssl.OpenSsl.<clinit>(OpenSsl.java:99)
at com.relayrides.pushy.apns.ApnsClientBuilder.build(ApnsClientBuilder.j
ava:415)
Ok, so it's probably down to my ignorance on the subject, I have been bundling netty-tcnative-linux-x86_64-fedora and netty-all-4.1.6.jar , I am running debian and latest java 8. Should I remove one of them or replace netty-tcbnative... with a different version?