RobinVDP opened a new issue, #1364:
URL: https://github.com/apache/plc4x/issues/1364

   ### What happened?
   
   ### Isseu
   When executing a read request every second in an ethernal loop 
   After 1 hour and 15 minutes the connection is not funktioning anymore when 
executing a read request every second in an ethernal loop.
   
   `readRequest.execute().get()`
   
   When adding a timeout off 1000 ms to the get statement a exception is thrown.
   After this the connection has to be terminated and restarted in order to 
contineu reading data from the OPC UA Server.
   
   `2024-01-18 16:35:30,658 ERROR 
[org.apa.plc.jav.opc.pro.OpcuaSubscriptionHandle] (pool-10-thread-1) Timeout 
while waiting for subscription response: java.util.concurrent.TimeoutException
        at 
org.apache.plc4x.java.spi.netty.NettyHashTimerTimeoutManager.lambda$0(NettyHashTimerTimeoutManager.java:54)
        at 
io.netty.util.HashedWheelTimer$HashedWheelTimeout.run(HashedWheelTimer.java:715)
        at 
io.netty.util.concurrent.ImmediateExecutor.execute(ImmediateExecutor.java:34)
        at 
io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:703)
        at 
io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:790)
        at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:503)
        at java.base/java.lang.Thread.run(Thread.java:840)`
   
   This also happens after 1 hour and 15 minutes when trying to retrieve data 
with a subscription.
   
   ### Tested OPC UA Servers
   Siemens S7-1500
   Lokale OPC UA Server running on the same PC
   
   ### Version
   
   v0.11.0
   
   ### Programming Languages
   
   - [X] plc4j
   - [ ] plc4go
   - [ ] plc4c
   - [ ] plc4net
   
   ### Protocols
   
   - [ ] AB-Ethernet
   - [ ] ADS /AMS
   - [ ] BACnet/IP
   - [ ] CANopen
   - [ ] DeltaV
   - [ ] DF1
   - [ ] EtherNet/IP
   - [ ] Firmata
   - [ ] KNXnet/IP
   - [ ] Modbus
   - [X] OPC-UA
   - [ ] S7


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@plc4x.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to