Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [milo-dev] Unable to connect to opc-ua server

I think you should be asking for support from whoever makes this server.

It does not seem there is anything wrong with your client implementation - you are just getting a TCP-level connection refused error from the server.

That your other clients can't connect either when this happens is further evidence the problem is with the server.

On Thu, Apr 15, 2021 at 3:14 AM RB, Pramod Kumar <pramodkumar.rb@xxxxxxxxxxxxxxxx> wrote:

Hi Team,

 

I am facing some issue while connecting to OPC-UA server from OPC-UA client written using Eclipse milo library. Sometimes I will get the error as mentioned below and communication will not establish until I restart my pc and then launch opc-ua server software again and also whenever I see this error even other opc-ua clients like prosys browser & UaExpert tools are also unable to connect to OPC-UA server software until I restart the machine.

 

This is blocker for my work, please help me to fix this issue.

 

Regards,
Pramod

 

15:31:55.235 [milo-shared-thread-pool-3] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.maxThreadLocalCharBufferSize: 16384

15:31:57.439 [milo-shared-thread-pool-3] DEBUG org.eclipse.milo.opcua.stack.client.ChannelFsm - [1] S(Connecting)            x E(ConnectFailure)        = S'(ReconnectWait)      

15:31:57.439 [milo-shared-thread-pool-2] DEBUG org.eclipse.milo.opcua.stack.client.ChannelFsm - [0] S(Connecting)            x E(ConnectFailure)        = S'(ReconnectWait)      

15:31:57.443 [milo-shared-thread-pool-1] DEBUG org.eclipse.milo.opcua.stack.client.ChannelFsm - [1] S(ReconnectWait)         x E(Disconnect)            = S'(NotConnected)       

15:31:57.445 [milo-shared-thread-pool-4] DEBUG org.eclipse.milo.opcua.stack.client.ChannelFsm - [0] S(ReconnectWait)         x E(Disconnect)            = S'(NotConnected)       

15:31:57.451 [milo-shared-thread-pool-0] DEBUG org.eclipse.milo.opcua.stack.client.ChannelFsm - [2] S(NotConnected)          x E(Connect)               = S'(Connecting)         

15:31:57.451 [milo-shared-thread-pool-1] DEBUG org.eclipse.milo.opcua.stack.client.ChannelFsm - [3] S(NotConnected)          x E(Connect)               = S'(Connecting)         

15:31:59.461 [milo-shared-thread-pool-0] DEBUG org.eclipse.milo.opcua.stack.client.ChannelFsm - [2] S(Connecting)            x E(ConnectFailure)        = S'(ReconnectWait)      

15:31:59.465 [milo-shared-thread-pool-1] DEBUG org.eclipse.milo.opcua.stack.client.ChannelFsm - [2] S(ReconnectWait)         x E(Disconnect)            = S'(NotConnected)       

15:31:59.466 [milo-shared-thread-pool-0] DEBUG org.eclipse.milo.opcua.stack.client.ChannelFsm - [3] S(Connecting)            x E(ConnectFailure)        = S'(ReconnectWait)      

15:31:59.469 [milo-shared-thread-pool-3] DEBUG org.eclipse.milo.opcua.stack.client.ChannelFsm - [3] S(ReconnectWait)         x E(Disconnect)            = S'(NotConnected)       

15:31:59.479 [main] ERROR com.thermofisher.cellbio.ebr.instrument.connect.opc_ua_client.ClientRunner - Error getting client: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /localhost:48010

org.eclipse.milo.opcua.stack.core.UaException: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /localhost:48010

       at org.eclipse.milo.opcua.stack.client.transport.uasc.ClientChannelFsm$ClientChannelActions.lambda$connect$0(ClientChannelFsm.java:129)

       at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:578)

       at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:571)

       at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:550)

       at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:491)

       at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:616)

       at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:609)

       at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:117)

       at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:321)

       at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:337)

       at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:707)

       at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655)

       at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581)

       at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)

       at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)

       at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)

       at java.lang.Thread.run(Thread.java:748)

Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /localhost1:48010

Caused by: java.net.ConnectException: Connection refused: no further information

       at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

       at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:715)

       at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:330)

       at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334)

       at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:707)

       at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655)

       at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581)

       at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)

       at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)

       at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)

       at java.lang.Thread.run(Thread.java:748)




This e-mail and any attachments thereto may contain confidential information and/or information protected by intellectual property rights for the exclusive attention of the intended addressees named above. If you have received this transmission in error, please immediately notify the sender by return e-mail and delete this message and its attachments permanently from your system/server, if stored. Unauthorized use, copying or further full or partial distribution of this e-mail or its contents is prohibited and will be subject to prosecution.
_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/milo-dev

Back to the top