Owntracks send location by http failes

HI,
i just try to setup owntracks on my iPhone with openhab cloud to do some presence detection tests.

I just get an 405 as response and have to clue why. These are my owntracks settings:

{
  "username" : "MY EMAIL ADDRESS",
  "maxHistory" : 0,
  "positions" : 50,
  "ranging" : false,
  "locked" : false,
  "deviceId" : "iPhone",
  "monitoring" : 1,
  "tid" : "02",
  "cmd" : false,
  "_type" : "configuration",
  "allowRemoteLocation" : true,
  "pubTopicBase" : "",
  "encryptionKey" : "",
  "url" : "https:\/\/home.myopenhab.org\/gpstracker\/owntracks",
  "ignoreStaleLocations" : 0,
  "osmCopyright" : "",
  "waypoints" : [

  ],
  "usePassword" : true,
  "httpHeaders" : "",
  "auth" : true,
  "locatorInterval" : 180,
  "extendedData" : true,
  "osmTemplate" : "",
  "ignoreInaccurateLocations" : 0,
  "locatorDisplacement" : 200,
  "mode" : 3,
  "password" : "SECRET",
  "downgrade" : 0
}

in the owntracksapp “Logs” is always just one MQTT entry. It seems that http request won’t show up in the logs

the connection between the openhab cloud and my instance is working.

owntrack version: 18.0.1/de_DE
openhabversion 4.2.1

Here two screenshots of the output from “Send Debug Status”


Has it anyone working and could me help here? Thanks!

I use OwnTracks as part of my presence detection scheme. It works for me except for the fact that it seems to stop working in background on my iPhone from time to time. If I open the app on the iPhone, it will then work as expected for a while (days or weeks, but not months).

It has been a while since I set it up, so I don’t remember the details. I followed the instruction in the binding.GPSTracker - Bindings | openHAB

I’m surprised you are getting something in the MQTT log if you configured it for secure HTTP in the app by selecting HTTP mode in the Settings tab from the Settings tab from the “i” on the main app page.

Hi,
Thanks for sharing your experience:) Good to know, that’s somehow working basically:D
No, I don’t get the http logs in the Matt section. I don‘t get any logs. I just have one, maybe default, entry in the mqtt log. What I wanted to say is, that my http requests don’t produce any logs.
If it’s not too much effort, may you compare my settings with yours? You get them in json format if you click on: i → settings → export settings

Thanks in advance

{
  "username" : "xxxxx@xxx.com",
  "maxHistory" : 0,
  "positions" : 50,
  "ranging" : false,
  "locked" : false,
  "deviceId" : "",
  "monitoring" : 2,
  "tid" : "GM",
  "cmd" : false,
  "_type" : "configuration",
  "allowRemoteLocation" : true,
  "pubTopicBase" : "",
  "encryptionKey" : "",
  "url" : "https:\/\/home.myopenhab.org\/gpstracker\/owntracks",
  "ignoreStaleLocations" : 0,
  "osmCopyright" : "",
  "waypoints" : [
    {
      "rad" : 75,
      "tst" : 1661960074,
      "_type" : "waypoint",
      "rid" : "f18e57",
      "lon" : -xxx.470442,
      "lat" : yy.53537,
      "desc" : "Site 1"
    },
    {
      "rad" : 250,
      "tst" : 1662553850,
      "_type" : "waypoint",
      "rid" : "2686e0",
      "lon" : -xxx.470368,
      "lat" : yy.53537,
      "desc" : "Site 2"
    }
  ],
  "usePassword" : true,
  "httpHeaders" : "",
  "auth" : true,
  "locatorInterval" : 180,
  "extendedData" : true,
  "osmTemplate" : "",
  "ignoreInaccurateLocations" : 0,
  "locatorDisplacement" : 200,
  "mode" : 3,
  "password" : "SecretWords",
  "downgrade" : 0
}

thanks for sharing!
This is really weird. I have updated my settings according to ours and compared it with notepadd++. Except the email and password it’s exactly the same but i still get a 405.

Does any one have an example request or is there any option to export from from owntracks that i can debug it with postman from my laptop?

thanks