Modify

Opened 5 years ago

Closed 5 years ago

Last modified 22 months ago

#17772 closed defect (fixed)

JMapViewer - tiles stopped working

Reported by: tjeziorowski@… Owned by: Don-vip
Priority: major Milestone: 19.05
Component: JMapViewer Version: latest
Keywords: tms http rate limit Cc: Klumbumbus, stoecker

Description (last modified by Don-vip)

The map tiles in JMapViewer component stopped working today. All I see ar red X marks. I'm getting reports from other users that they also have this issue.


Attachments (1)

2019-05-30 11_45_09-JMapViewer Demo.png (33.6 KB ) - added by not loaded tiles 5 years ago.

Download all attachments as: .zip

Change History (11)

by not loaded tiles, 5 years ago

comment:1 by Don-vip, 5 years ago

Cc: Klumbumbus stoecker added
Keywords: tms http rate limit added
Owner: changed from team to Don-vip
Status: newassigned

Confirmed, we get HTTP 429 (Too Many Requests) and jmapviewer retries in loop, worsening the problem:

Failed loading https://b.tile.openstreetmap.org/3/3/3.png: class java.io.IOException: Server returned HTTP response code: 429 for URL: https://c.tile.openstreetmap.org/3/3/3.png
Failed loading https://c.tile.openstreetmap.org/3/3/1.png: class java.io.IOException: Server returned HTTP response code: 429 for URL: https://a.tile.openstreetmap.org/3/3/1.png
Failed loading https://a.tile.openstreetmap.org/3/5/2.png: class java.io.IOException: Server returned HTTP response code: 429 for URL: https://b.tile.openstreetmap.org/3/5/2.png
Failed loading https://b.tile.openstreetmap.org/3/4/3.png: class java.io.IOException: Server returned HTTP response code: 429 for URL: https://b.tile.openstreetmap.org/3/4/3.png
Failed loading https://c.tile.openstreetmap.org/3/4/2.png: class java.io.IOException: Server returned HTTP response code: 429 for URL: https://a.tile.openstreetmap.org/3/4/2.png
Failed loading https://c.tile.openstreetmap.org/3/5/1.png: class java.io.IOException: Server returned HTTP response code: 429 for URL: https://a.tile.openstreetmap.org/3/5/1.png
Failed loading https://c.tile.openstreetmap.org/3/4/1.png: class java.io.IOException: Server returned HTTP response code: 429 for URL: https://b.tile.openstreetmap.org/3/4/1.png
Failed loading https://c.tile.openstreetmap.org/3/3/2.png: class java.io.IOException: Server returned HTTP response code: 429 for URL: https://b.tile.openstreetmap.org/3/3/2.png
Failed loading https://c.tile.openstreetmap.org/3/3/4.png: class java.io.IOException: Server returned HTTP response code: 429 for URL: https://c.tile.openstreetmap.org/3/3/4.png

comment:2 by Don-vip, 5 years ago

Description: modified (diff)

comment:3 by Klumbumbus, 5 years ago

I see this problem only in the imagery preferences (see ticket:16301#comment:70). The download window and the mapview work fine for me. See console log below, the first are from the preferences and the last from the mapview. The first are rejected while the last work fine despite both use the same URL pattern https://{switch:a,b,c}.tile.openstreetmap.org/{zoom}/{x}/{y}.png

Failed loading https://b.tile.openstreetmap.org/18/130432/91262.png: class java.io.IOException: Server returned HTTP response code: 429 for URL: https://c.tile.openstreetmap.org/18/130432/91262.png
Failed loading https://c.tile.openstreetmap.org/18/130431/91263.png: class java.io.IOException: Server returned HTTP response code: 429 for URL: https://a.tile.openstreetmap.org/18/130431/91263.png
Failed loading https://a.tile.openstreetmap.org/18/130433/91262.png: class java.io.IOException: Server returned HTTP response code: 429 for URL: https://a.tile.openstreetmap.org/18/130433/91262.png
Failed loading https://b.tile.openstreetmap.org/18/130433/91263.png: class java.io.IOException: Server returned HTTP response code: 429 for URL: https://b.tile.openstreetmap.org/18/130433/91263.png
Failed loading https://c.tile.openstreetmap.org/18/130431/91264.png: class java.io.IOException: Server returned HTTP response code: 429 for URL: https://b.tile.openstreetmap.org/18/130431/91264.png
Failed loading https://a.tile.openstreetmap.org/18/130431/91262.png: class java.io.IOException: Server returned HTTP response code: 429 for URL: https://b.tile.openstreetmap.org/18/130431/91262.png
2019-05-30 15:15:06.214 INFO: GET https://a.tile.openstreetmap.org/13/4394/2748.png -> 200 (21.7 kB)
2019-05-30 15:15:06.214 INFO: GET https://a.tile.openstreetmap.org/13/4393/2747.png -> 200 (25.3 kB)
2019-05-30 15:15:06.214 INFO: GET https://a.tile.openstreetmap.org/13/4393/2750.png -> 200 (19.7 kB)
2019-05-30 15:15:06.236 INFO: GET https://c.tile.openstreetmap.org/13/4394/2749.png -> 200 (19.7 kB)

comment:4 by Don-vip, 5 years ago

MapView doesn't use JMapViewer and has its own (and much better) tile loading mechanism.

comment:5 by Don-vip, 5 years ago

Milestone: 19.05

comment:6 by Don-vip, 5 years ago

In 15145/josm:

see #17772 - make sure all JMapViewer instances in JOSM behave the same

comment:7 by Don-vip, 5 years ago

@Klumbumbus please test in JOSM imagery preferences with r14145 it should work.

comment:8 by Klumbumbus, 5 years ago

Yes, works fine.

comment:9 by Don-vip, 5 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [o35016:35022].

comment:10 by tjeziorowski@…, 5 years ago

Thanks, it works great now :)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.