You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Way to fix the mixed contend error when reverse proxy (i did it with nginx) https domain to http content on local service. (Only in the Desktop version. No problem with the mobile version)
The problem was: //www.openstreetmap.org/openlayers/OpenStreetMap.js file.
I unzipped traccar-web.war to edit the traccar.html file.
there the line: //www.openstreetmap.org/openlayers/OpenStreetMap.js is the problem.
I downloaded this file over the browser and safed it local as OpenStreetMap.js
then I edited all http:// to only // like:
after this i uploaded this to github and linked it to rawgit to get accessable file.
Its also possible to upload it to the own webspace to access. (http://rawgit.com/)
after this edit the line above in traccar-web.war --> traccar.html file.
edit:
Way to fix the mixed contend error when reverse proxy (i did it with nginx) https domain to http content on local service. (Only in the Desktop version. No problem with the mobile version)
The problem was: //www.openstreetmap.org/openlayers/OpenStreetMap.js file.
I unzipped traccar-web.war to edit the traccar.html file.
there the line: //www.openstreetmap.org/openlayers/OpenStreetMap.js is the problem.
I downloaded this file over the browser and safed it local as OpenStreetMap.js
then I edited all http:// to only // like:
to:
I changed all of them.
after this i uploaded this to github and linked it to rawgit to get accessable file.
Its also possible to upload it to the own webspace to access. (http://rawgit.com/)
after this edit the line above in traccar-web.war --> traccar.html file.
edit:
//www.openstreetmap.org/openlayers/OpenStreetMap.js
to the uploaded and changed
//webserver/address/path/to/OpenStreetMap.js
safe and restart traccar.
after this there are no mixed content anymore.
These are my changes of OpenStreetMap.js:
https://github.com/dschense/script-stuff/blob/master/server/traccar/openlayers/OpenStreetMap.js
The text was updated successfully, but these errors were encountered: