Hello,
recently I installed traccar and make redirections via apache to SSL that traccar can use subdomain and it is working fine with web browser and there is on location click it is showing my location .
When I tried to change the server url in my traccar android app to https://my.subdomain.com
I got error "no connection" and I changed the server url to: http://my.subdomain.com:8082
then it is loading and everything is fine, but when I login and when I click on the button My location I get this message: "Only secure origins are allowed (see https:goo.gl/xxxxxxx
) . But I tried demo traccar url (which is not using https/ssl) and button My location is working fine, why is not working via my server ?
Video :
https://drive.google.com/file/d/17qzL18UrjHp3NFcC1Sw6EgGx95XTHNJa/view?usp=sharing
Demo servers redirect you from HTTP to HTTPS, so you end up on a secure version.
Yes, I understand but I am also make auto redirection from http to https and it is working via browser fine but app doesnt pick it up or something.
There's probably some misconfiguration on your end.
Hello,
recently I installed traccar and make redirections via apache to SSL that traccar can use subdomain and it is working fine with web browser and there is on location click it is showing my location .
When I tried to change the server url in my traccar android app to
https://my.subdomain.com
I got error "no connection" and I changed the server url to:http://my.subdomain.com:8082
then it is loading and everything is fine, but when I login and when I click on the button My location I get this message: "Only secure origins are allowed (seehttps:goo.gl/xxxxxxx
) . But I tried demo traccar url (which is not using https/ssl) and button My location is working fine, why is not working via my server ?Video :
https://drive.google.com/file/d/17qzL18UrjHp3NFcC1Sw6EgGx95XTHNJa/view?usp=sharing