Secure server(https) with domainname not showing tracker icons, server (http) on ip address showing tracker icons.

Geen Idee5 years ago

Hi all,

I set up a Traccar server 4.5 under Ubuntu and when i visit the Traccar site, on it's public ip, i see the tracker icons. See following picture below:

browsing server on ip

However, if i visit the same server on it's domain name, i see no tracker icon's. See following picture below:

browsing server on domainname

I am clueless as how to search or troubleshoot. Can someone please push me in the right direction?

Thanks in advance.

Anton Tananaev5 years ago

I would recommend to check browser console to see if there is any useful info there.

Geen Idee5 years ago

Thanks for the tip.
The console gets filled with this log message.

Load denied by X-Frame-Options: https://locatie.xxxx/images/arrow.svg does not permit framing.
This somehow appears to be browser dependant. The weird thing is, it occurs when using a domainname, and not when using an ip.
Do you have any idea how to resolve this?

Anton Tananaev5 years ago

Are you using a frame? Sounds like that's your issue. It has nothing to do with the domain.

Geen Idee5 years ago

I don't think i'm using a frame. I've followed this explanation Traccar documentation
So, it uses a proxy. I haven't seen this before either, when using a proxy to secure local sites.
That's why i don't seem to figure this one out.

Anton Tananaev5 years ago

Can I have the link to take a look?

Geen Idee5 years ago

sure, here you go: Site

Anton Tananaev5 years ago

Looks like your web server is adding x-frame-options: DENY header. You need to remove that.

Geen Idee5 years ago

Thanks a million. Apperently there was an extra line in one of the Apache configs, for security reasons.
It's working. Much appreciated!
could you please remove the link?