[
https://issues.apache.org/jira/browse/PLC4X-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17410192#comment-17410192
]
Christofer Dutz commented on PLC4X-314:
---------------------------------------
So the difference between the two, is that in case of the commented out
addresses, the write operation is able to be executed in one single request.
However in the case with all, the request is automatically split up into two
requests. I think the problem might be, that the calculation of the size of a
request we perhaps are doing something wrong and sending a too big request and
the PLC is hanging up because of the invalid request.
> 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)