sdeigm opened a new issue, #1003:
URL: https://github.com/apache/pekko-connectors/issues/1003

   I have a UDP server running that uses the Udp.bindFlow(...). On the machine 
where the software is running, there are sometimes severe network errors 
leading to failures like the following for the HTTP client:
   
   ```Tcp command [Connect(192.168.2.60/<unresolved>:8088,None,List(),Some(10 
seconds),true)] failed because of java.net.SocketException: Network is 
unreachable```
   
   When this happens often the UDP server is not working anymore, but there are 
no error messages and the stream using the Udp.bindFlow(...) is still running. 
Only a restart of the software fixes the problem.
   
   Today I was lucky that when the problem happened again, I had an incoming 
UDP request that was exactly answered in that moment and I found the following 
message in the log:
   
   ```
   INFO org.apache.pekko.actor.LocalActorRef - Message 
[org.apache.pekko.io.Udp$Send] to 
Actor[pekko://uni-meter/system/IO-UDP-FF/selectors/$a/0#2020722919] was not 
delivered. [1] dead letters encountered. If this is not an expected behavior 
then Actor[pekko://uni-meter/system/IO-UDP-FF/selectors/$a/0#2020722919] may 
have terminated unexpectedly. This logging can be turned off or adjusted with 
configuration settings 'pekko.log-dead-letters' and 
'pekko.log-dead-letters-during-shutdown'.
   ```
   
   I think that brought me on the right track and I had a look to the class 
UdpBindLogic. There is no death-watch on the bound UdpListener actor. When the 
listener dies, the stream is basically idle afterwards but no error message is 
given.
   
   I am not a Scala expert, but if desired I can provide a PR to fix the problem


-- 
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: notifications-unsubscr...@pekko.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to