Skip to content

Native SSL provider is available; will use native provider. #1035

@sohabotros

Description

@sohabotros

Hello,
I am getting the following message "Native SSL provider is available; will use native provider." and when trying to send as notification, The sendNotification is returning a null.

I tried to add the following to my build.gradle:
runtimeOnly 'io.netty:netty-tcnative-boringssl-static:2.0.36.Final'

But, when I do so, I get the following error when trying to setup ApnsClientBuilder:
eanInstantiationException: Failed to instantiate [com.eatthepath.pushy.apns.ApnsClient]: Factory method 'apnsClient' threw exception; nested exception is java.lang.NoClassDefFoundError: io/netty/internal/tcnative/AsyncSSLPrivateKeyMethod","name":"org.springframework.beans.factory.BeanCreationException","cause":{"commonElementCount":20,"localizedMessage":"Failed to instantiate [com.eatthepath.pushy.apns.ApnsClient]: Factory method 'apnsClient' threw exception; nested exception is java.lang.NoClassDefFoundError: io/netty/internal/tcnative/AsyncSSLPrivateKeyMethod"

I'm using pushy version '0.15.1' together with jdk 11 within springboot framework (Tomcat container)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions