Modify

Opened 21 months ago

Closed 21 months ago

Last modified 21 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 21 months ago.

Download all attachments as: .zip

Change History (11)

Changed 21 months ago by not loaded tiles

comment:1 Changed 21 months ago by Don-vip

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 Changed 21 months ago by Don-vip

Description: modified (diff)

comment:3 Changed 21 months ago by Klumbumbus

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 Changed 21 months ago by Don-vip

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

comment:5 Changed 21 months ago by Don-vip

Milestone: 19.05

comment:6 Changed 21 months ago by Don-vip

In 15145/josm:

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

comment:7 Changed 21 months ago by Don-vip

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

comment:8 Changed 21 months ago by Klumbumbus

Yes, works fine.

comment:9 Changed 21 months ago by Don-vip

Resolution: fixed
Status: assignedclosed

Fixed in [o35016:35022].

comment:10 Changed 21 months ago by tjeziorowski@…

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.