#19715 closed defect (othersoftware)
JOSM ERROR : Unable to retrieve WMS layers list
Reported by: | SiiG | Owned by: | SiiG |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core imagery | Version: | |
Keywords: | WMS | Cc: |
Description
Hi,
I desperately try to use a WMS stream published with the SiiG's VMap under JOSM.
This is the feed https://carto.siig.fr/wms/public/FluxPublic? which will allow us to display the track sections and address points in order to update OSM.
When I click the "Get Layers" button, I end up with the following error (see screenshot below):
"Unable to retrieve WMS layers list"
I saw that OSM had to have permission to use the service https://carto.siig.fr/wms/public/FluxPublic? but I don’t see what to do if that’s the error!
I would like to point out that I have tested the service under QGis and it works well.
Thanks for your help.
Attachments (2)
Change History (22)
by , 4 years ago
Attachment: | screenshot_josm.jpg added |
---|
comment:1 by , 4 years ago
comment:2 by , 4 years ago
I received a security warning due to an invalid certificate from that site. After clicking continue it worked for me. Did you receive the warning too?
comment:3 by , 4 years ago
Thank you
Not at all.
I get an error message showing a "Validate" button.
When I click on this button I can't get the list of layers and I can't click on the "Validate" button in the "Add an imagery provider" window.
comment:4 by , 4 years ago
I forgot to specify that I'm not received a security warning due to an invalid certificate from my site.
comment:5 by , 4 years ago
Help me please,
Does anyone have a solution to my problem?
Is there a log file that contains the error that occurs while loading WMS layers under JSM?
Thank you in advance
by , 4 years ago
comment:6 by , 4 years ago
I specify that the WMS flow works correctly under QGis (see screenshot attached)
comment:7 by , 4 years ago
I suggest to start JOSM from a command line with the --debug option. If you can't find a hint there attach your status report and the debug messages here.
comment:9 by , 4 years ago
Thanks for your report, however your ticket is incomplete and therefore not helpful in its current form.
Please add all needed information according to this list:
- The required parts of the Status Report from your JOSM.
- Please, use Report Bug from Help menu and copy & paste.
- Describe what behaviour you expected.
- Describe what did happen instead.
- Describe if and how the issue is reproducible.
- Add any relevant information like error messages or screenshots.
To ensure that all technical relevant information is contained, create new tickets by clicking in JOSMs Main Menu on Help → Report Bug.
Remember: This is a generic notice so we don't need to write the same stuff again and again. It may only apply in parts to the specific case!
comment:10 by , 4 years ago
Keywords: | WMS added |
---|---|
Owner: | changed from | to
Status: | new → needinfo |
Type: | task → defect |
comment:11 by , 4 years ago
Component: | Core → Core imagery |
---|
comment:12 by , 4 years ago
I have an "josm.exe" file in "C:\Program Files (x86)\JOSM\" folder.
I also have an "josm-tested.jar" in this folder.
When i start JOSM with this command line "java -jar josm-tested.jar --debug", i get this error message :
Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
comment:14 by , 4 years ago
@SiiG, Help/Action/ShowStatusReport requested in comment:9 immediately reveals the problem: Java does not accept the HTTPS certificate:
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2020-09-06 16:54:59 +0200 (Sun, 06 Sep 2020) Build-Date:2020-09-07 01:30:48 Revision:17013 Relative:URL: ^/trunk Identification: JOSM/1.5 (17013 en_GB) Linux Arch Linux Memory Usage: 1556 MB / 6996 MB (647 MB allocated, but free) Java version: 1.8.0_265-b01, Oracle Corporation, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 3840x2160 (scaling 1.0x1.0) Maximum Screen Size: 3840x2160 Best cursor sizes: 16x16 -> 16x16, 32x32 -> 32x32 Desktop environment: i3 Last errors/warnings: - 00015.963 W: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00015.964 W: Already here sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00016.065 W: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00016.172 W: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00016.273 W: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00016.379 W: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00016.480 W: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00016.587 W: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00016.688 W: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00016.689 E: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
comment:15 by , 4 years ago
Summary: | JOSM ERROR : Unable to retrieve WMS layers list → Unable to retrieve WMS layers list from carto.siig.fr |
---|
comment:16 by , 4 years ago
Summary: | Unable to retrieve WMS layers list from carto.siig.fr → JOSM ERROR : Unable to retrieve WMS layers list |
---|
Thanks but what do you mean ?
I do not understand "OP"?!?
comment:17 by , 4 years ago
The certificate chain is incomplete, so that JOSM wont accept the cert.
There are two possibilities:
- Contact admins to fix the certificate chain: see https://www.ssllabs.com/ssltest/analyze.html?d=carto.siig.fr They need to add the missing intermediate cert to the chain
- Simply use http: instead of https:
comment:18 by , 4 years ago
Resolution: | → othersoftware |
---|---|
Status: | needinfo → closed |
comment:20 by , 4 years ago
Hi,
We installed the intermediate certificate on our server and everything is working fine now.
Thank you very much for the help you have given us.
My JOSM version is 16812.
My JAVA version is 1.8.0_261.