NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi,

Maps aren’t available on certain devices. Please could you explain why and how we can fix this? They aren’t showing in the UK and only from devices located in Spain. We aren't sure about other countries, but I am sure there are issues there too.

www.vitavip.es

Example:

alt text alt text

asked 18 Apr '20, 15:18

FrancesEvans's gravatar image

FrancesEvans
11112
accept rate: 0%

Can you provide a URL that "doesn't work"? If I browse to https://vitavip.es/ I see lots of advertising blurb and then a small map of Marbella at the bottom, which looks like the same tiles as https://www.openstreetmap.org/#map=13/36.5084/-4.8866 .

I'm in the UK, browsing via either UK or Germany, browser is Firefox 75.0, OS Ubuntu 18.04 (KDE).

(18 Apr '20, 15:51) SomeoneElse ♦

Maybe a tile caching server problem ?

It works for me (from France), on some property page.

You can look for the x-cache header of one of the request to https://x.tile.openstreetmap.org/ to know which cache server you are using (in the Network tab of the developer tools of your browser).

You will be able to check its status on this page : https://hardware.openstreetmap.org/ through the munin link.

(18 Apr '20, 18:33) H_mlet

Thank you both. I have passed this onto my IT and very open to more suggestions!

The map is at the bottom of the page and at the top of the rentals page. I cannot send you a link that doesn’t work as it all depends on your location or browser etc (I think)?!

(18 Apr '20, 18:46) FrancesEvans

Hi,

I am not sure if that applies - I am in Marbella, one of us is in Madrid and one is in the UK....

(18 Apr '20, 19:41) FrancesEvans

Maybe not for the one in UK. Just check as indicated to be sure.

Please use comments instead of new answers for this kind of remarks... ;-)

(18 Apr '20, 19:58) H_mlet

Many thanks for your help! I will ask our developer to check.

(18 Apr '20, 20:00) FrancesEvans

(for info - I've moved the "answers that weren't answers" here as comments)

(18 Apr '20, 21:30) SomeoneElse ♦
showing 5 of 7 show 2 more comments

Thinking about it a bit more, you have probably exceeded the "Tile usage policy", on your area's tile cache server.

As your users and yourself are from the same area, you're hitting the same server, and the rules are now more strictly enforced.

To be sure that is the problem, again in the Network tab of the developer tools of your browser (really easy to find : Chrome, Firefox), check that lines like .tile.openstreetmap.org have a 429 status (first column).

If that's indeed the problem, the recommended solution is to host your own tile server. See switch2osm for guidance.

A lighter solution in your case might be to host a specific tile cache server (any proxy with cache capabilities). As most of your users will look at the same places, the storage needs should not be great, and the tiles will be requested to upstream servers only once for all visitors.

If you store the tiles for few days, or even a week, you will dramatically reduce the load on community-run servers. I guess you don't really need an up to the minute map, which is what tile.openstreetmap.org is offering to the mappers.

Last solution is to turn to commercial tiles providers.

Best regards.

permanent link

answered 18 Apr '20, 19:34

H_mlet's gravatar image

H_mlet
5.4k1781
accept rate: 13%

edited 25 Apr '20, 20:45

Spiekerooger's gravatar image

Spiekerooger
3.1k22356

For what it's worth I'm seeing maps not appearing now (from the UK). There are various JS errors that your developers will want to look at. All the OSM tiles load quickly for me in < 0.5 seconds (but don't display, due to the errors). Content such as https://vitavip.es/wp-content/uploads/2020/03/WhatsApp-Image-2020-01-13-at-19.03.45-5-1200x680-1.jpeg loads extremely slowly (10-20 seconds), suggesting a problem at your end...

(18 Apr '20, 21:42) SomeoneElse ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×75

question asked: 18 Apr '20, 15:18

question was seen: 7,565 times

last updated: 25 Apr '20, 20:45

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum