You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by "PLC4X (Jira)" <ji...@apache.org> on 2022/07/22 03:05:00 UTC

[jira] [Commented] (PLC4X-351) PLC4X-Connection terminated by remote

    [ https://issues.apache.org/jira/browse/PLC4X-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17569760#comment-17569760 ] 

PLC4X commented on PLC4X-351:
-----------------------------

 
h2. non-procedural questions

> PLC4X-Connection terminated by remote
> -------------------------------------
>
>                 Key: PLC4X-351
>                 URL: https://issues.apache.org/jira/browse/PLC4X-351
>             Project: Apache PLC4X
>          Issue Type: Bug
>          Components: Driver-Ethernet/IP
>    Affects Versions: 0.9.1
>         Environment: Win10
>            Reporter: yayask
>            Priority: Critical
>         Attachments: image-2022-07-22-10-39-22-909.png
>
>
> Jul 22, 2022 10:15:16 AM io.netty.channel.DefaultChannelPipeline onUnhandledInboundException
> WARNING: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
> java.io.IOException: Connection reset by peer
>     at java.base/sun.nio.ch.FileDispatcherImpl.read0(Native Method)
>     at java.base/sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
>     at java.base/sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:276)
>     at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:233)
>     at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:223)
>     at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:356)
>     at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
>     at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132)
>     at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
>     at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151)
>     at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719)
>     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:986)
>     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:829)
> Exception in thread "main" org.apache.plc4x.java.api.exceptions.PlcConnectionException: java.util.concurrent.ExecutionException: org.apache.plc4x.java.api.exceptions.PlcIoException: Connection terminated by remote
>     at org.apache.plc4x.java.spi.connection.DefaultNettyPlcConnection.connect(DefaultNettyPlcConnection.java:142)
>     at org.apache.plc4x.java.PlcDriverManager.getConnection(PlcDriverManager.java:74)
>     at org.apache.plc4x.java.examples.enip.test.EnipExample.main(EnipExample.java:26)
> Caused by: java.util.concurrent.ExecutionException: org.apache.plc4x.java.api.exceptions.PlcIoException: Connection terminated by remote
>     at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
>     at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
>     at org.apache.plc4x.java.spi.connection.DefaultNettyPlcConnection.connect(DefaultNettyPlcConnection.java:133)
>     ... 2 more
> Caused by: org.apache.plc4x.java.api.exceptions.PlcIoException: Connection terminated by remote
>     at org.apache.plc4x.java.spi.connection.DefaultNettyPlcConnection.lambda$connect$1(DefaultNettyPlcConnection.java:124)
>     at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:578)
>     at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:552)
>     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.setSuccess0(DefaultPromise.java:605)
>     at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:104)
>     at io.netty.channel.DefaultChannelPromise.trySuccess(DefaultChannelPromise.java:84)
>     at io.netty.channel.AbstractChannel$CloseFuture.setClosed(AbstractChannel.java:1182)
>     at io.netty.channel.AbstractChannel$AbstractUnsafe.doClose0(AbstractChannel.java:773)
>     at io.netty.channel.AbstractChannel$AbstractUnsafe.close(AbstractChannel.java:749)
>     at io.netty.channel.AbstractChannel$AbstractUnsafe.close(AbstractChannel.java:620)
>     at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.closeOnRead(AbstractNioByteChannel.java:105)
>     at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.handleReadException(AbstractNioByteChannel.java:130)
>     at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:177)
>     at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719)
>     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:986)
>     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:829)
> read !image-2022-07-22-10-39-22-909.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)