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

OwnTracks 2.5 sometimes doesn't get last reported locations on startup #1758

Open
hastyeagle opened this issue Jul 18, 2024 · 2 comments
Open

Comments

@hastyeagle
Copy link

  • App build number: 2.5.0
  • Android version: GrapheneOS / Android 14 (2024071200)
  • Device: Pixel 7a
  • Installation source: APK

For some reason on startup of OwnTracks 2.5, the last retained message (last reported location) is not getting pulled from the MQTT server. Attached are two log files, one "good" which is when it was successful in pulling the last retained messages for the two topics I'm subscribed to. The other is the "bad" log which shows the connection to the server being established, but no messages being received.

OwnTracks 2.4 didn't have this issue -- each time I started it I would see the last reported locations of the devices. If I force close owntracks and re-open it, sometimes it will retrieve the last reported locations, and other times it fails. I don't know what changes that makes it start working properly. My location is unavailable (no GPS signal) both during a "good" and "bad" startup, so that doesn't appear to be the problem.

owntracks-log-bad.txt
owntracks-log-good.txt

@growse
Copy link
Collaborator

growse commented Jul 19, 2024

Nice report, thanks. Will take a look when I get online later.

@hastyeagle
Copy link
Author

After some more testing it does seem related to not having a GPS signal. While traveling it doesn't seem to have an issue getting the last reported locations on startup. It's only happening while I'm at home. Although it does occassionally get the locations on startup even without a GPS signal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants