Owntracks update broken

I’ve been using the GPSTracker binding with Owntracks on my Android phone for many years but a few days it stopped working - no updates received from my phone.

After quite a bit of digging I came across this issue on Github - Issue · GitHub

It seems a recent update of Owntracks has broken things for a couple of servers (GPSTracker included). I’ve manually installed version 2.5.6 of Owntracks as a workaround.

I can confirm this… :frowning:

How did you do this exactly?

I exported my settings in Owntracks then uninstalled the app on my phone.

Then downloaded the 2.5.6 release apk file from Release v2.5.6 · owntracks/android · GitHub and installed it (you need Developer mode enabled on your phone to do this). After opening I imported the settings I previously saved.

By that, do you mean that you copied that JSON? Or is there some kind of ‘setting export’ button hidden away somewhere? :slight_smile:

Yes, in Configuration management click the three dots at the top right and select Export. It will save the JSON file.

Isn’t this then (also) an issue in the GPSTracker binding that it doesn’t respond accordingly? :thinking:

Edit:
I use 2.5.9 in my vehicle with a VPN connection to my LAN and don’t have issues with it.

Are you guys using myopenhab.org as proxy?

I am.

No - I’m use nginx as a reverse proxy on my home connection which my OH server sits behind.

I’ve got the feeling you are right. Without looking into it, it seems the binding now does not “return an array of JSON objects, which could be empty ([])”. And maybe if that’s changed, this problem goes away for the openHAB users?

Edit: this response suggests there’s a deeper problem.

In the logs I see:

HTTP response received: Response{protocol=http/1.1, code=200, message=OK, url=http://[...]/gpstracker/owntracks}
HTTP response body: []

Looks like the binding already responds correctly. And as I wrote, I don’t have an issue. I tested with another Android device with 2.5.9 as well… I wonder what’s the difference here.

Edit: I’m using the 5.1.4 binding.

Which logs are those exactly?

You can find them in the Owntracks app: Menu > Status > See logs