D-Rats icon indicating copy to clipboard operation
D-Rats copied to clipboard

Automatic retry and reconnection to remote D-rats ratflector

Open dranch opened this issue 5 years ago • 2 comments

I connect to a remote ratflector via 127.0.0.1:9000 via SSH portfw. I've noticed that if the remote ratflector becomes unavailable for a short period, my local D-rats client will get disconnected and won't try to re-connect. I believe D-rats should try to reconnect to any configured and enabled Ratflector say every 60 seconds.

dranch avatar Jun 22 '20 19:06 dranch

Originally seen on Microsoft Windows, but also seen occasionally on Anti-X linux.

Sometimes the D-Rats software stops getting updates from the Internet, but does not detect that it is disconnected from the ratflector.

It looks like a disconnected port returns zero bytes read, and since we are using a 1/2 duplex system for TCP connections, it looks like we sometimes can not see the difference between a broken connection and no data available for receipt.

wb8tyw avatar Sep 08 '22 22:09 wb8tyw

Many ISPs and possibly home firewall routers will disconnect TCP sessions that do not transfer data over a period of time.

The only way to prevent the disconnection is to setup a timed QST, which could be annoying to some hams.

Related:

  • https://github.com/ham-radio-software/D-Rats/issues/134
  • https://github.com/ham-radio-software/D-Rats/issues/109

wb8tyw avatar Apr 05 '23 22:04 wb8tyw