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

   SocketCAN transport can silently die due to swallowed exceptions:
   
   ```
   
   2022-02-16 18:28:11.134 [WARN ] [io.netty.channel.DefaultChannelPipeline] - 
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.
   tel.schich.javacan.linux.LinuxNativeOperationException: Unable to read
   from the socket - errorNumber=100, errorMessage='Network is down'
       at tel.schich.javacan.SocketCAN.read(Native
   Method)
       at 
tel.schich.javacan.AbstractCanChannel.readSocket(AbstractCanChannel.java:160)
       at
   tel.schich.javacan.RawCanChannelImpl.readUnsafe(RawCanChannelImpl.java:82) 
       at 
org.apache.plc4x.java.transport.socketcan.netty.SocketCANChannel.lambda$doConnect$0(SocketCANChannel.java:118)
    
     at java.lang.Thread.run(Thread.java:834) [?:?]
   
   ```
   
   This error happened within an hour of application start so its most likely 
related to some CAN instability, however what's important is lack of proper 
handling of error. The connection in theory was still alive, however there was 
no data coming over it any more.
   
   Imported from Jira 
[PLC4X-334](https://issues.apache.org/jira/browse/PLC4X-334). Original Jira may 
contain additional context.
   Reported by: ldywicki.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to