[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [milo-dev] subscribe event failed
|
Thanks Kevin, as I run docker, the server use the wrong ip. I stop the docker, get the following errors(it is same with server writed by my self)
09:15:46.544 [main] INFO o.e.milo.opcua.stack.core.Stack - Successfully removed cryptography restrictions.
09:15:46.735 [main] INFO o.e.m.e.client.ClientExampleRunner - security temp dir: C:\Users\Admin\AppData\Local\Temp\security
09:15:46.756 [main] INFO o.e.m.examples.client.KeyStoreLoader - Loading KeyStore at C:\Users\Admin\AppData\Local\Temp\security\example-client.pfx
09:15:47.933 [main] INFO o.e.m.e.client.ClientExampleRunner - Using endpoint: opc.tcp://DESKTOP-VFA7NRS:53530/OPCUA/SimulationServer [None]
09:15:47.938 [main] INFO o.e.m.opcua.sdk.client.OpcUaClient - Eclipse Milo OPC UA Stack version: 0.2.1
09:15:47.938 [main] INFO o.e.m.opcua.sdk.client.OpcUaClient - Eclipse Milo OPC UA Client SDK version: 0.2.1
09:15:48.123 [NonceUtilSecureRandom] INFO o.e.m.o.stack.core.util.NonceUtil - SecureRandom seeded in 0ms.
09:16:03.295 [main] ERROR o.e.m.e.client.ClientExampleRunner - Error running client example: null
java.util.concurrent.TimeoutException: null
at java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1771)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1915)
at org.eclipse.milo.examples.client.ClientExampleRunner.run(ClientExampleRunner.java:145)
at org.eclipse.milo.examples.client.ProsysEventSubscriptionExample.main(ProsysEventSubscriptionExample.java:50)
09:16:03.295 [main] ERROR o.e.m.e.client.ClientExampleRunner - Error running example: null
java.util.concurrent.TimeoutException: null
at java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1771)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1915)
at org.eclipse.milo.examples.client.ClientExampleRunner.run(ClientExampleRunner.java:145)
at org.eclipse.milo.examples.client.ProsysEventSubscriptionExample.main(ProsysEventSubscriptionExample.java:50)
Process finished with exit code 0
孙建蛟 -- 研发部 IOT ************************************************************ 浙江明度智控科技有限公司 公司地址:浙江省杭州市滨江区江虹南路316号京安创业园 工厂地址:江苏省昆山市汉浦路1937号欣昆产业园 电 话:0571-88196008 传 真:0571-86718570
欢迎关注微信公众号: |
Date: 2018-07-02 21:09
Subject: Re: [milo-dev] subscribe event failed
It's easier to focus on the first error because there is more information. The important part is this:
java.net.ConnectException: Connection refused: no further information: DESKTOP-VFA7NRS/
10.0.75.1:53530This is just a basic networking problem. Either the server is not running, or it's running but returning different IP address, or there's a firewall in between, or something else like this. You're just unable to even open a TCP connection to the server.