Closed netgeak closed 3 years ago
is the cli being run on the same machine? and what command are you running?
Yes, same machine. I run sudo python3 -m FreeTAKServer.views.CLI, issue command start_all and enter the required info. at the end it gives the error.
I also get this error.
I have not been able to get the server to start whatsoever though unfortunately.
$ sudo python3 -m FreeTAKServer.controllers.services.FTS -DataPackageIP "myIP"
Creating directory at logs
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.8/dist-packages/FreeTAKServer/controllers/services/FTS.py", line 9, in
FTS$ start_CoT_service
enter CoT_service IP[0.0.0.0]: "myIP"
enter CoT_service Port[8087]: 8087
error in processing your request function returned bad data
Issue the following commands and you should be able to start the server using "sudo python3 -m FreeTAKServer.controllers.services.FTS -DataPackageIP "myIP" command. sudo -H python3 -m pip install flask_socketio sudo -H python3 -m pip install flask_cors Since version 1.1 those modules dont seam to get installed. Hope that helps.
@netgeak That work,
Thank you.
Just a side note. When I run the server I get constant reconnects with the atak client.
@netgeak does the client actually drop connection? (TAK server turns red) How often does this happen?
I have not experienced this but have only done limited testing. Last night I had a stable connection with 4 clients, but I was only testing for around an hour.
Just a side note. When I run the server I get constant reconnects with the atak client.
have you changed any user configurations like adding email or xmpp address?
I am seeing this with WinTak, I added xmpp but it was doing the same thing prior. All I see in the server console is multiple "Handling conn data" statements. Yes, it turns red. Client disconnect happens every 30 seconds roughly.
could you send the FTS error log please?
It seems that you haven't disabled xmpp properly as it's still being sent on connection.
I've disabled it in WinTak, still see the constant disconnects.
try removing the logs restart FTS restart wintak and reconnect if the error persists send the error log.
Will do. Thanks
We can close this issue. I had to unload the Tak Chat plugin in WinTAK then the disconnects quit. Thanks for all your help.
I am installing on Ubuntu 18 and when I run sudo python3 -m FreeTAKServer.controllers.services.FTS -DataPackageIP 192.168.1.2 it starts up. But if I use the CLI is get error in processing your request function returned bad data. I used install instructions from Pypi readme. is there something I am missing with the setup? Thanks.