[
https://issues.apache.org/jira/browse/PLC4X-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17410173#comment-17410173
]
Christofer Dutz commented on PLC4X-314:
---------------------------------------
Hi,
having a look at the wireshark recording doesn't make me think there is
anything super special happening.
However the exception you are getting makes me think that perhaps the remote
plc is haning up. This can be for multiple reasons. Some hang up if the time
needed for handling IO exceeds a configured percentage of the cycle time.
Are you using our connection pool? This should automatically handle disconnects
transparrently.
Chris
> CAN NOT WRITING MANY DATA TO S7 ONE TIME
> ----------------------------------------
>
> Key: PLC4X-314
> URL: https://issues.apache.org/jira/browse/PLC4X-314
> Project: Apache PLC4X
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: liuqiang
> Priority: Major
> Attachments: sharkfile.pcapng
>
>
> ERROR INFO AS FOLLOW:
> 15:43:34.710 [nioEventLoopGroup-8-1] WARN i.n.c.DefaultChannelPipeline -
> [onUnhandledInboundException,1152] - 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: An existing connection was forcibly closed by the remote
> host
> at sun.nio.ch.SocketDispatcher.read0(Native Method)
> at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
> at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
> at sun.nio.ch.IOUtil.read(IOUtil.java:192)
> at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378)
> at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
> at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1134)
> at io.netty.buffer.WrappedByteBuf.writeBytes(WrappedByteBuf.java:821)
> 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:989)
> at
> io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
> at
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.lang.Thread.run(Thread.java:748)
> 15:44:24.489 [http-nio-8080-exec-27] WARN o.m.s.m.ClassPathMapperScanner -
> [warn,44] - No MyBatis mapper was found in '[com.ruoyi.**.mapper]' package.
> Please check your configuration.
> 2021-09-05 15:44:24 JRebel: Reconfiguring bean 'wrappingPlc'
> [com.ruoyi.level2.task.WrappingPlc]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)