OPC UA Origin

asked 2018-04-02 04:21:36 -0500

Abylay gravatar image

updated 2018-04-03 09:56:08 -0500

metadaddy gravatar image

Hi, I am having trouble implementing OPC UA as my origin. I use the following OPC UA Simulation Server: opc.tcp://opcuademo.sterfive.com:26543. I have tried to use Browse and Poll mode with no luck. Any help would be appreciated, thanks. Below are my logs:

 2018-04-02 15:07:25,347    opcua/opcuabdaf5498-7bf2-4ebe-9f08-6ca93d5a3d71 ERROR   Error decoding symmetric message: readerIndex(60) + length(1) exceeds writerIndex(60): CompositeByteBuf(ridx: 60, widx: 60, cap: 60, components=1)  UaTcpClientMessageHandler   *admin      ua-shared-pool-15
java.lang.IndexOutOfBoundsException: readerIndex(60) + length(1) exceeds writerIndex(60): CompositeByteBuf(ridx: 60, widx: 60, cap: 60, components=1)
    at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1401)
    at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:707)
    at io.netty.buffer.SwappedByteBuf.readByte(SwappedByteBuf.java:531)
    at org.eclipse.milo.opcua.stack.core.serialization.binary.BinaryDecoder.decodeDiagnosticInfo(BinaryDecoder.java:356)
    at org.eclipse.milo.opcua.stack.core.serialization.binary.BinaryDecoder.decodeArray(BinaryDecoder.java:428)
    at org.eclipse.milo.opcua.stack.core.types.structured.ReadResponse.decode(ReadResponse.java:87)
    at org.eclipse.milo.opcua.stack.core.serialization.binary.BinaryDecoder.decodeMessage(BinaryDecoder.java:388)
    at org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientMessageHandler.lambda$onSecureMessage$20(UaTcpClientMessageHandler.java:534)
    at org.eclipse.milo.opcua.stack.core.channel.SerializationQueue.lambda$decode$1(SerializationQueue.java:58)
    at org.eclipse.milo.opcua.stack.core.util.ExecutionQueue$PollAndExecute.run(ExecutionQueue.java:107)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
edit retag flag offensive close merge delete