Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Issue - getGeoObject returning empty list #627

Open
Anthon769 opened this issue Sep 7, 2023 · 6 comments
Open

API Issue - getGeoObject returning empty list #627

Anthon769 opened this issue Sep 7, 2023 · 6 comments
Labels
bug_minor Minor bug, Server still syncs with clients
Milestone

Comments

@Anthon769
Copy link

The server and API are functioning properly and almost all of the API methods are working exactly as described in the API guide. However, regardless of input parameters, the getGeoObject process returns an empty list as its payload ("[ ]"). We seem to be making successful contact with the endpoint (the return message also contains "statusCode: 200", indicating a successful return), but regardless of the geoObjects present in our environment, we cannot see any of them.

We've primarily been running it with {"longitude":0,"latitude":0,"attitude":"friendly","radius":10000} parameters, but have tried all the combinations of parameters we could think of. {"longitude":0,"latitude":0,"attitude":"any","radius":10000}, {"longitude":0,"latitude":0,"radius":10000}, etc...

We are deploying this in Node-RED, but the flow seems to be working properly given that we are getting a successful return statement.

When the getGeoObject request is sent, there are a few errors thrown on the computer that is running the server. Additionally, the PowerShell script running the server seems to be identifying some of the UIDs of the objects within getGeoObject's search radius but is then throwing a "list index out of range" error.

Any advice would be much appreciated!!

getGeoObject Return: image

Server Computer Errors:
NoneType Error
UIDs Output
Complete Output

@HeeebsInc
Copy link

HeeebsInc commented Oct 14, 2023

Have you found a solution to this? Same is happening to me. Everything used to work with the same FTS version so think there has been a change within ATAK that’s broken. I’m down a rabbit hole so any advice would be great

@brothercorvo brothercorvo added the bug_minor Minor bug, Server still syncs with clients label Nov 28, 2023
@brothercorvo brothercorvo added this to the 2.2 milestone Nov 28, 2023
@naman108
Copy link
Collaborator

The way in which the API interacts with the database has changed, likely provoking this issue.

@starcheek
Copy link

Same issue

@HeeebsInc
Copy link

HeeebsInc commented Dec 22, 2023

What fixed it for me was downgrading FreeTAKServer to 2.0.21

pip install FreeTAKServer==2.0.21

@naman108
Copy link
Collaborator

I'll take some time out today and open a branch to check it out

@naman108
Copy link
Collaborator

... safe to say I did not open up a branch, still an issue. Hopefully we can address this issue in the process of address issue #675 by moving the database access to a proper component and out of the service.

@brothercorvo brothercorvo modified the milestones: 2.2, 2.3 Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug_minor Minor bug, Server still syncs with clients
Projects
None yet
Development

No branches or pull requests

5 participants