I'm confused why you're testing completely different tile URL.
ok, I changed:
curl -I 192.168.50.101:3128 https://a.tile.openstreetmap.org/9/286/187.png
It is successful.
So do you have any idea how to get Traccar to use my Squid Proxy?
What's the error? Provide a screenshot.
LOL. The error is that the map is empty.
I'm obviously talking about the error you see in the browser developer tools.
The error is: Web Socket Connection Error
This is what I have inserted into Traccar's custom map field:
192.168.50.101:3128 https://a.tile.openstreetmap.org/{z}/{x}/{y}.png
if I test it like this:
curl -I 192.168.50.101:3128 https://a.tile.openstreetmap.org/9/286/187.png
It works, I downloaded that tile png through the Squid Proxy Server
That's not a URL, so it obviously won't work.
ok, anyway, is there a way to convince Traccar to pull the tiles from my local proxy?
I installed the 6.0 version Traccar on my laboratory laptop, and I see that a lot of map servers are in red colors.
I would like to use OpenStreetMap but cached with a help of my Squid server
If you can configure it to be a proper HTTP proxy, then it should work.
Is there a directive in the Traccar xml config file, that is used for a properly configured HTTP Proxy? Thanks.
What? It doesn't require any configuration in Traccar.
ok, thanks.
Then I think the proxy settings should be set in the OS level, this way Traccar wont know about it.
Hi,
I would like to use squid proxy with Traccar and OpenStreetMap to cache the tiles for LAN users.
This is the SQUID configuration:
And when I insert this to the Traccar's custom map URL, it doesnt pull the tiles anymore:
This test works properly when I pull manually a tile from the squid:
Do you have any idea what I am missing?