YunoHost-Apps / owntracks_ynh

Owntracks package for YunoHost
GNU Affero General Public License v3.0
13 stars 2 forks source link

HTTP Status 200, JsonParseException #23

Closed elbubar closed 1 month ago

elbubar commented 2 years ago

Describe the bug

HTTP Status 200, JsonParseException

Context

Steps to reproduce

Expected behavior

Getting positions registered in the app

Logs

No Logs

The how to for YNH installation and link with mobile device says that the server address shall be : Host: https://DOMAIN/PATH/record.php

But it's not working and gets HTTP 200.

On the official documentation, we shall redirect to Host: https://DOMAIN/pub which is different, but not working neither...

Many thanks for your support on setting up correctly the app on android.

akoshpinter commented 2 years ago

Hi,

I had the same issue, adding visitor user to the permissions (i.e. making OwnTracks publicly available) solves the issue... Meaning, the HTTP request from the application is not doing the authentication correctly (the request is redirected to SSO of Yunohost).

rob-hills commented 1 year ago

I am having the same issue as reported here.

However, the workaround suggested above doesn't work for me. It gets rid of the error from the client app log, but still nothing appears on the map when I log in to my YunoHost server.

amaury1093 commented 1 year ago

Same as @rob-hills, after making OwnTracks public, no more error in logs, but nothing appears on map.