OpenTAKServer icon indicating copy to clipboard operation
OpenTAKServer copied to clipboard

WinTAK and ATAK clients are constantly reconnecting

Open ferenc92 opened this issue 1 year ago • 3 comments

I have an OpenTAK server installation and use both WinTAK and ATAK clients. The clients are connected via SSL and the connection works. I can create points and also see the locations of the devices in relation to each other.

However, the clients keep reconnecting to the server and the logs show the following entries: OpenTAKServer[24972] - client_controller - on_close - 92 - INFO - Connection closed for 10.41.194.14: (404, ‘NOT_FOUND - no exchange “cot_controller” in vhost “/”’)

log

After a few seconds, the client is reconnected.

The installation was carried out with the OpenTAK server installer and should therefore be the latest version. https://docs.opentakserver.io/#installation/installation/

ferenc92 avatar Aug 29 '24 16:08 ferenc92

I've seen that error but I still haven't figured out what causes it. However the solution that seems to work is to just restart the OpenTAKServer service with this command sudo systemctl restart opentakserver

brian7704 avatar Aug 30 '24 18:08 brian7704

I've seen this on FTS server too - the one thing that I found that reliably keeps it connected is disabling either TCP or SSL - once I disabled TCP I stopped getting disconnected. It helped me, maybe it'll help you guys?

kevinb0 avatar Oct 20 '24 18:10 kevinb0

There is probably a bug with how CotController class instantiated. The exchange is declared during this class instantiation, sometimes is doesn't work, I haven't figured why. Restart should help, as well as manually declaring the exchange in rabbit mq via management console (may need to enable this plugin as it's not enabled by default)

texaskst avatar Feb 17 '25 17:02 texaskst