Modify

Opened 6 years ago

Closed 6 years ago

#17069 closed defect (fixed)

concurrent.ExecutionException: [powershell, ...

Reported by: GerdP Owned by: team
Priority: minor Milestone: 18.12
Component: Core Version:
Keywords: template_report windows https ssl tls certificate Cc:

Description

What steps will reproduce the problem?

  1. Debug JOSM in Eclipse

What is the expected result?

no exception

What happens instead?

2018-12-04 08:05:37.987 INFORMATION: Protokollierungsgrad ist bei INFORMATION (INFO, 800)
2018-12-04 08:05:44.143 SEVERE: java.util.concurrent.ExecutionException: [powershell, -Command, [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;[System.Net.WebRequest]::Create('https://grca.nat.gov.tw').GetResponse()]
java.util.concurrent.ExecutionException: [powershell, -Command, [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;[System.Net.WebRequest]::Create('https://grca.nat.gov.tw').GetResponse()]
	at org.openstreetmap.josm.tools.Utils.execOutput(Utils.java:867)
	at org.openstreetmap.josm.tools.PlatformHookWindows.webRequest(PlatformHookWindows.java:794)
	at org.openstreetmap.josm.tools.PlatformHookWindows.getX509Certificate(PlatformHookWindows.java:484)
	at org.openstreetmap.josm.io.CertificateAmendment.addMissingCertificates(CertificateAmendment.java:234)
	at org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:843)
	at org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:284)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:711)

2018-12-04 08:05:44.869 INFO: Invalid plugin description '${plugin.description}' in plugin config
2018-12-04 08:05:45.205 INFO: loading plugin 'jaxb' (version 34506)

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

Could not reproduce it but it looks dangerous, so I thought I better report it. It happened after an svn update to r14507 and testing the changes for r14508. This report was created with r14508 after

ant clean dist.

so ignore the version number.

Build-Date:2018-12-04 08:12:39
Revision:14508
Is-Local-Build:true

Identification: JOSM/1.5 (14508 SVN en) Windows 10 64-Bit
OS Build number: Windows 10 Home 1803 (17134)
Memory Usage: 569 MB / 3641 MB (392 MB allocated, but free)
Java version: 1.8.0_191-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:59277, -ea, -Dfile.encoding=UTF-8]

Plugins:
+ OpeningHoursEditor (34535)
+ apache-commons (34506)
+ buildings_tools (34724)
+ download_along (34503)
+ ejml (34389)
+ geotools (34513)
+ jaxb (34506)
+ jts (34524)
+ merge-overlap (34664)
+ o5m (34405)
+ opendata (34698)
+ pbf (34576)
+ poly (34546)
+ reverter (34552)
+ undelete (34568)
+ utilsplugin2 (34506)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.

Attachments (0)

Change History (3)

comment:1 by Don-vip, 6 years ago

Keywords: windows https ssl tls certificate added

On Windows we need to trick the OS to make it download trusted certificates on its own. We do this for a handful of certificates (mostly governmental) listed in CertificateAmendment. Once Windows has downloaded and installed the certificate, we don't need to request it again. That's why you can't reproduce it: it's likely the second try succeeded and it won't happen again unless you manually uninstall the Taiwan certificate.

comment:2 by Don-vip, 6 years ago

Milestone: 18.12
Priority: normalminor

comment:3 by Don-vip, 6 years ago

Resolution: fixed
Status: newclosed

In 14511/josm:

fix #17069 - reduce severity/verbosity of errors when fetching certificates on Windows

Modify Ticket

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