﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
17619	offline startup slow on Windows because certificates are always downloaded	anonymous	Don-vip	"==== What steps will reproduce the problem?
1. Starting JOSM on a Machine without internetconnection

==== What is the expected result?
JOSM should start within a few seconds

==== What happens instead?
JOSM startup takes almost 1minute

==== Please provide any additional information below. Attach a screenshot if possible.

I need to run JOSM on a Machine without a connection to the Internet.
When there is no Internetconnection JOSM starts really slow. After starting JOSM it takes about 30sec where nothing seems to happen until the splashscreen appears.

When starting JOSM in Commandprompt it turns out that 25sec of the 30sec JOSM tries to request certificates.

I have found the parameter ""--offline=..."" to use when working offline. But during startup this does nothing change. JOSM still needs 30sec until the splashscreen appears and it still requests certificates.

Here all Information I see in the commandprompt:

{{{
C:\Users\user>java -jar ""D:\JOSM\josm-tested.jar"" --offline=all
2019-04-18 09:32:35.122 INFO: Log level is at INFO (INFO, 800)
2019-04-18 09:32:35.310 WARNING: JOSM is running in offline mode. This resource will not be available: ALL
2019-04-18 09:32:40.929 WARNING: Unable to request certificate of https://roottest-g2.pkioverheid.nl
2019-04-18 09:32:46.031 WARNING: Unable to request certificate of https://roottest-g3.pkioverheid.nl
2019-04-18 09:32:51.119 WARNING: Unable to request certificate of https://www.certigna.fr
2019-04-18 09:32:56.211 WARNING: Unable to request certificate of https://eidas.disig.sk
2019-04-18 09:33:01.332 WARNING: Unable to request certificate of https://grca.nat.gov.tw
2019-04-18 09:33:03.151 WARNING: OSM API not available (offline mode)
2019-04-18 09:33:03.154 WARNING: org.openstreetmap.josm.io.OfflineAccessException: Unable to access 'https://josm.openstreetmap.de/maps%<?ids=>': JOSM website not available (offline mode)
2019-04-18 09:33:03.169 SEVERE: java.io.IOException: Unable to get cache file for https://josm.openstreetmap.de/maps
2019-04-18 09:33:04.449 WARNING: OSM API not available (offline mode)
2019-04-18 09:33:04.620 WARNING: No configuration settings found.  Using hardcoded default values for all pools.
2019-04-18 09:33:04.674 WARNING: Region [TMS_BLOCK_v2] Resetting cache
2019-04-18 09:33:04.705 INFO: Message notifier not available (offline mode)
2019-04-18 09:33:04.706 INFO: Changeset updater active (checks every 60 minutes if open changesets have been closed)
}}}



{{{
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-03-31 21:17:00 +0200 (Sun, 31 Mar 2019)
Build-Date:2019-03-31 20:25:18
Revision:14945
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14945 de) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 1809 (17763)
Memory Usage: 416 MB / 3625 MB (159 MB allocated, but free)
Java version: 1.8.0_201-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1200, \Display1 1920x1200, \Display2 1920x1200, \Display3 1920x1200
Maximum Screen Size: 1920x1200
Program arguments: [--offline=all]

Last errors/warnings:
- W: Unable to request certificate of https://roottest-g3.pkioverheid.nl
- W: Unable to request certificate of https://www.certigna.fr
- W: Unable to request certificate of https://eidas.disig.sk
- W: Unable to request certificate of https://grca.nat.gov.tw
- W: OSM-API nicht verfügbar (Offline-Modus)
- W: org.openstreetmap.josm.io.OfflineAccessException: Kein Zugriff auf 'https://josm.openstreetmap.de/maps%<?ids=>': JOSM-Internetseite nicht verfügbar (Offline-Modus)
- E: java.io.IOException: Unable to get cache file for https://josm.openstreetmap.de/maps
- W: OSM-API nicht verfügbar (Offline-Modus)
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Region [TMS_BLOCK_v2] Resetting cache
}}}
"	defect	closed	normal	19.04	Core	tested	fixed	template_report offline certificate windows	
