snstac / adsbcot

Display Aircraft in TAK - ADS-B to TAK Gateway
https://adsbcot.rtfd.io
Apache License 2.0
86 stars 22 forks source link

ADSBCOT No COT Data outbound on network to TAK Server #36

Open VirtualizeThis opened 9 months ago

VirtualizeThis commented 9 months ago

First Git post so go easy.

I have ADSBCOT running on Ubuntu server. 1090 data is coming in on the network port tcp+beast. This is confirmed.

ADSBCOT should be sending data outbound to tcp://x.x.x.x:YYYY. No data leaves the server to the TAK Server/Multicast/Any Endpoint. Confirmed with iftop.

Adding DEBUG = 1 to the adsbcot.ini file and executing adsbcot appears to load correctly at first. Then this "WARNING" appears and repeats until the process dies.

WARNING:asyncio:Executing <Task pending name='Task-3' coro=<ADSBNetWorker.run() running at /usr/local/lib/python3.10/dist-packages/adsbcot/classes.py:263> wait_for=<Future pending cb=[Task.task_wakeup()] created at /usr/lib/python3.10/asyncio/base_events.py:429> cb=[_wait.._on_completion() at /usr/lib/python3.10/asyncio/tasks.py:475] created at /usr/lib/python3.10/asyncio/tasks.py:636> took 0.101 seconds

The TAK Server reports ADSBCOT is connected on the port specified and gets 1x "read received" counter but no messages are received.

I have RTFM, Googled and finally looked at all the blogs and forum posts. It could be my TAK Server telling ADSBCOT to not send data, it could be ADSBCOT not sending it.

I've run out of ideas. I have either found a bug or reached the limit of my imagination. Either way I would like to know please.