Modify

Opened 5 years ago

Closed 5 years ago

#17485 closed defect (worksforme)

SunCertPathBuilderException when fetching image from https://upload.wikimedia.org

Reported by: stadionbau@… Owned by: stadionbau@…
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report certificate https tls wikimedia wikipedia Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Installing the preset "stolpersteine" by users "Lübeck,Gmbo" or preset "Stolpersteine - Light Version" by users "Lübeck,Gmbo,Klumbumbus".
  2. Re-starting josm.

What is the expected result?

A working preset. ;-)

What happens instead?

You got a requester after starting josm telling you to check your proxy-settings (which are fine) because it can´t download the file https://upload.wikimedia.org/wikipedia/commons/f/f4/Stolpersteinicon.png

The file exist, of course?!

Additional given info was it was failed because of "sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target".

Screenshot of error-message which was displayed after starting josm:
http://www.kiezkicker.de/!kurzzeit/josm_stolpersteine.png

Error after starting josm with preset "Stolperstein"

Please provide any additional information below. Attach a screenshot if possible.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-03-03 00:16:03 +0100 (Sun, 03 Mar 2019)
Build-Date:2019-03-02 23:16:53
Revision:14824
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14824 de) Linux Debian GNU/Linux 8.11 (jessie)
Memory Usage: 590 MB / 910 MB (387 MB allocated, but free)
Java version: 1.8.0_171-8u171-b11-1~bpo8+1-b11, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 3840x1080, :0.1 1920x1080
Maximum Screen Size: 3840x1080
Java package: openjdk-8-jre:amd64-8u171-b11-1~bpo8+1
Java ATK Wrapper package: libatk-wrapper-java:all-0.30.5-1
VM arguments: [-Dsun.java2d.opengl=true]

Plugins:
+ DirectDownload (34867)
+ FixAddresses (34867)
+ HouseNumberTaggingTool (34867)
+ ImportImagePlugin (34576)
+ Mapillary (1.5.18)
+ OpeningHoursEditor (34867)
+ RoadSigns (34867)
+ apache-commons (34506)
+ apache-http (34632)
+ buildings_tools (34904)
+ ejml (34389)
+ geochat (34867)
+ geotools (34513)
+ gson (34389)
+ imagery_offset_db (34867)
+ jna (34867)
+ jts (34524)
+ log4j (34527)
+ mapdust (34867)
+ public_transport (34867)
+ reltoolbox (34867)
+ tag2link (34867)
+ tageditor (34867)
+ turnlanes (34678)
+ turnrestrictions (34867)
+ utilsplugin2 (34915)
+ wikipedia (v1.1.1)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/Playground_Equipment&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/ParkingLanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Stolpersteine&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Heritage&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Historical_Objects&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Leaftype&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/NewParkingFeatures&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/ParkingLanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Historic_Stone&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Bus_lanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1
+ https://raw.githubusercontent.com/species/josm-preset-wheelchair/master/sidewalks_kerbs.xml
+ https://raw.githubusercontent.com/OpenSeaMap/josm/master/Presets_Hafen.xml
+ http://www.country-linedance.de/daten/Verkehrszeichen-vorlage.zip
+ http://osmtools.de/josm/steps.xml

Map paint styles:
+ https://github.com/simon04/coloured-addresses.mapcss/raw/master/dist/coloured-addresses.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Fixme&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Sidewalks&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Highway_Nodes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip
+ https://josm.openstreetmap.de/josmfile?page=Styles/NewParkingFeatures&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1
- https://github.com/gmgeo/osmic-josm-style/archive/master.zip
+ https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lit&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface-DataEntry&zip=1

Last errors/warnings:
- E: No tagging preset submenu for   
- E: No tagging preset submenu for   
- E: No tagging preset submenu for  RoadSigns
- E: No tagging preset submenu for  RoadSigns
- E: No tagging preset submenu for  RoadSigns
- E: No tagging preset submenu for   
- E: No tagging preset submenu for   
- E: No tagging preset submenu for   
- E: No tagging preset submenu for   
- W: No configuration settings found.  Using hardcoded default values for all pools.

Attachments (1)

josm_stolpersteine.png (39.8 KB ) - added by stadionbau@… 5 years ago.
Error after starting josm with preset "Stolperstein"

Download all attachments as: .zip

Change History (7)

by stadionbau@…, 5 years ago

Attachment: josm_stolpersteine.png added

Error after starting josm with preset "Stolperstein"

comment:1 by Klumbumbus, 5 years ago

Component: External presetCore
Keywords: certificate added

comment:2 by Don-vip, 5 years ago

Description: modified (diff)

comment:3 by Don-vip, 5 years ago

Keywords: https tls wikimedia wikipedia added

comment:4 by Don-vip, 5 years ago

Summary: Preset "Stolpersteine" by Lübeck,Gmbo,Klumbumbus will cause an error because of missing File in WikipediaSunCertPathBuilderException when fetching image from https://upload.wikimedia.org

comment:5 by Don-vip, 5 years ago

Owner: changed from team to stadionbau@…
Status: newneedinfo

Might be a temporary problem, we usually have no problem with Wikimedia servers. Can you please try again and see if the error still happens? If so, can you please try with openjdk-11?

comment:6 by stadionbau@…, 5 years ago

Resolution: worksforme
Status: needinfoclosed

Hi,
I had gotten the error since a few months (at each start of josm) so I thought the developer might have it, too - and waiting for a fix without looking if it was already a known issue. :-\ Well, not the best solution, I know.

OK, today I had changed the Java to "Java version: 11.0.2+9, Oracle Corporation, OpenJDK 64-Bit Server VM" as you requested and what should I say? Well, no more error-requester after starting josm. Seems like in java 8 the certs are something like out-of-date so it won´t work with it - or whatever, anything else.

Well, thank´s for bringing back my casual work-flow (without clicking this error-message away).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain stadionbau@….
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.