I have a box where I'm trying to run with a vertx 3.3.2 HTTP/2 client using OpenSSL.
OpenSSL is installed, which I checked by running
bash-4.2$ openssl version
OpenSSL 1.0.2h 3 May 2016
However when running my jar file, with java -jar on this same machine,
vertx says it's unable to find OpenSSL. How come?
ERROR 16:51:16.714 [io.vertx.core.impl.ContextImpl] (vert.x-eventloop-thread-2) - Unhandled exception
io.vertx.core.VertxException: OpenSSL is not available
at io.vertx.core.net.impl.SSLHelper.resolveEngineOptions(SSLHelper.java:79) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at io.vertx.core.net.impl.SSLHelper.<init>(SSLHelper.java:145) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at io.vertx.core.http.impl.HttpClientImpl.<init>(HttpClientImpl.java:74) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at io.vertx.core.impl.VertxImpl.createHttpClient(VertxImpl.java:251) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at com.bankid.notis.notification.apns.ApnsHttp2ConnectionManager.getOrCreateHttpClient(ApnsHttp2ConnectionManager.java:181) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at com.bankid.notis.notification.apns.ApnsHttp2ConnectionManager.<init>(ApnsHttp2ConnectionManager.java:65) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at com.bankid.notis.notification.apns.ApnsVerticle.lambda$onStart$0(ApnsVerticle.java:37) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at io.vertx.core.impl.FutureImpl.checkCallHandler(FutureImpl.java:158) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at io.vertx.core.impl.FutureImpl.complete(FutureImpl.java:111) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:135) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at io.vertx.core.impl.FutureImpl.handle(FutureImpl.java:23) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at io.vertx.core.impl.FutureImpl.checkCallHandler(FutureImpl.java:158) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at io.vertx.core.impl.FutureImpl.setHandler(FutureImpl.java:100) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at io.vertx.core.impl.ContextImpl.lambda$null$1(ContextImpl.java:315) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at io.vertx.core.impl.ContextImpl.lambda$wrapTask$3(ContextImpl.java:359) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:339) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:393) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742) ~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_92]
io.netty.handler.ssl.OpenSsl.unavailabilityCause()
to know more details and refer to:
http://netty.io/wiki/forked-tomcat-native.html
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/b545803e-4e4f-4b75-9c86-29ab06122649%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)~[notis-bundle-2.0-SNAPSHOT-fat.jar:na]
at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_92]
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/aff4a2fc-5717-45c8-ad4a-223a43b35f19%40googlegroups.com.
<dependency> <groupId>io.netty</groupId> <artifactId>netty-tcnative</artifactId> <version>1.1.33.Fork16</version> <classifier>linux-x86_64</classifier> </dependency>
Failed to load any of the given libraries: [netty-tcnative-linux-x86_64, netty-tcnative-linux-x86_64-fedora, netty-tcnative]