-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AbstractMethodError when trying to connect to APNs Gaterway #246
Comments
I got this problem too. I found that pushy 0.5.2 must use netty-tcnative 1.1.33.Fork13 with classifier osx-x86_64, only pushy 0.6-SNAPSHOT can use 1.1.33.Fork14 with classifier osx-x86_64. You can change the netty-tcnative dependency to :
AbstractMethodError means the definition of a method is changed since last compile. |
@dorheini @ylgrgyq pom.xml
|
I'll try to make the netty-tcnative version requirements clearer in the README (I wasn't really aware that there WERE such specific requirements until these issues started rolling in). Additionally, I've filed a request for more detailed docs with the netty-tcnative folks. I suspect that adding netty-tcnative to the test matrix (#232) will help a lot. |
Still reproducible with 1.1.33.Fork15. I've put back 1.1.33.Fork13. PS. It was tricky to make the library work. I have older Mac OSx and needed to upgrade OpenSSL. apply plugin: 'com.google.osdetector'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.google.gradle:osdetector-gradle-plugin:1.4.0'
}
}
dependencies {
// project dependencies here
// https://github.com/relayrides/pushy
compile("com.relayrides:pushy:0.5.2")
compile("io.netty:netty-tcnative:1.1.33.Fork13:$osdetector.classifier")
runtime("org.eclipse.jetty.alpn:alpn-api:1.1.2.v20150522")
} |
Hi.
I'm having issues with using pushy for push notifications.
i'm using java 7 and tomcat 7.
i have a simple web service on tomcat which sends push notification when directing to specific url.
When doing the following:
final Future<Void> connectFuture = client.connect(ApnsClient.DEVELOPMENT_APNS_HOST);
i get:
i installed OpenSSL version 1.0.2f and i'm running the above on OSX.
i also added netty-tcnative as dependency to my project as follows:
Cant figure out the problem but it seems that something wrong with openssl...
any idea?
The text was updated successfully, but these errors were encountered: