This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

403 Forbidden with Firefox 12

0

Hi,

For the las few days we are having trouble loading map images from Firefox 12. When trying to load from {a|b|c}.tile.openstreetmap.org, the response is 403 Forbidenn.

Trying to load the same page with current version of Firefox, Chrome or Edge works fine.

Also, if we try to load a single Image (a.tile.openstreetmap.org/11/623/1225.png) whe have an Access Denied error page.

We have tried from client computers in Spain and Chile with same results.

We think the problem is related to User-Agent, wich is in Firefox 12: Mozilla/5.0 (Windows NT 5.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0

Thanks in advance.

asked 30 Aug '16, 14:08

Diego-Tree's gravatar image

Diego-Tree
11112
accept rate: 0%

edited 01 Dec '18, 22:37

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

Which URL (an http or an https one)?

(30 Aug '16, 15:23) SomeoneElse ♦

One Answer:

3

Yes, you're right. I tried Firefox 12 and also got HTTP 403 when using the following user agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0.

It looks like those old user agents get used quite a bit by some abusive OSM Tile scrapers, and are therefore banned.

If updating to a more recent Firefox version (think security!!) is not an option for you, a Firefox extension like User Agent Switcher might be a workaround for the time being. In any case I strongly recommend to update.

(actual config file)

answered 30 Aug '16, 20:55

mmd's gravatar image

mmd
5.7k15388
accept rate: 37%

edited 30 Aug '16, 21:06

Source code available on GitHub .