Hello,
i have a CentOS7 Machine with installed jre13 and i try to do the following:
java -jar hono-cli-1.0.1-exec\(1\).jar --hono.client.host=hono.eclipseprojects.io --hono.client.port=15671 --hono.client.tlsEnabled=true --hono.client.username=MYUSER@HONO --hono.client.password=PWD --spring.profiles.active=receiver
OUTPUT:
______ _ _ _ _
| ____| | (_) | | | |
| |__ ___| |_ _ __ ___ ___ | |__| | ___ _ __ ___
| __| / __| | | '_ \/ __|/ _ \ | __ |/ _ \| '_ \ / _ \
| |___| (__| | | |_) \__ \ __/ | | | | (_) | | | | (_) |
|______\___|_|_| .__/|___/\___| |_| |_|\___/|_| |_|\___/
| |
|_|
Eclipse Hono Example Client (v1.0.1)
using Spring Boot (v2.1.8.RELEASE)
Go to https://www.eclipse.org/hono for more information.
11:33:45.257 [main] INFO org.eclipse.hono.cli.Application - Starting Application v1.0.1 on st0cvm300201f.vmaas.de1.bosch-iot-cloud.com with PID 4164 (/tmp/hono-cli-1.0.1-exec(1).jar started by root in /tmp)
11:33:45.259 [main] INFO org.eclipse.hono.cli.Application - The following profiles are active: receiver
11:33:46.239 [main] INFO org.eclipse.hono.cli.Application - running command line client in role(s): receiver
11:33:46.893 [main] INFO org.eclipse.hono.cli.Application - Started Application in 2.801 seconds (JVM running for 3.676)
11:34:17.553 [vert.x-eventloop-thread-0] INFO o.e.h.client.impl.HonoConnectionImpl - max number of attempts [5] to re-connect to peer [hono.eclipseprojects.io:15671] have been made, giving up
11:34:17.555 [vert.x-eventloop-thread-0] INFO o.e.h.client.impl.HonoConnectionImpl - stopping connection attempt to server [host: hono.eclipseprojects.io, port: 15671] due to terminal error
org.eclipse.hono.connection.ConnectTimeoutException: connection attempt timed out after 5000ms
at org.eclipse.hono.connection.impl.ConnectionFactoryImpl.lambda$connect$0(ConnectionFactoryImpl.java:140)
at io.vertx.core.impl.VertxImpl$InternalTimerHandler.handle(VertxImpl.java:911)
at io.vertx.core.impl.VertxImpl$InternalTimerHandler.handle(VertxImpl.java:875)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:320)
at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:43)
at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:188)
at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:180)
at io.vertx.core.impl.VertxImpl$InternalTimerHandler.run(VertxImpl.java:901)
at io.netty.util.concurrent.PromiseTask$RunnableAdapter.call(PromiseTask.java:38)
at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:127)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:416)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:515)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:918)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:830)
11:34:17.555 [vert.x-eventloop-thread-0] ERROR org.eclipse.hono.cli.app.Receiver - Error occurred during initialization of receiver: failed to connect
Can you kindly help me to solve this issue?????