Modify

Opened 8 months ago

Closed 6 months ago

Last modified 6 months ago

#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)

screenshot_josm.jpg (116.1 KB) - added by SiiG 8 months ago.
qgis.jpg (43.0 KB) - added by SiiG 6 months ago.

Download all attachments as: .zip

Change History (22)

Changed 8 months ago by SiiG

Attachment: screenshot_josm.jpg added

comment:1 Changed 8 months ago by SiiG

My JOSM version is 16812.
My JAVA version is 1.8.0_261.

comment:2 Changed 8 months ago by Klumbumbus

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 Changed 8 months ago by SiiG

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 Changed 8 months ago by SiiG

I forgot to specify that I'm not received a security warning due to an invalid certificate from my site.

comment:5 Changed 6 months ago by SiiG

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

Changed 6 months ago by SiiG

Attachment: qgis.jpg added

comment:6 Changed 6 months ago by SiiG

I specify that the WMS flow works correctly under QGis (see screenshot attached)

comment:7 Changed 6 months ago by GerdP

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:8 Changed 6 months ago by skyper

Ticket #19891 has been marked as a duplicate of this ticket.

comment:9 Changed 6 months ago by skyper

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.
  • 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 Helpsource:trunk/resources/images/bug.svg Report Bug.


comment:10 Changed 6 months ago by skyper

Keywords: WMS added
Owner: changed from team to SiiG
Status: newneedinfo
Type: taskdefect

comment:11 Changed 6 months ago by skyper

Component: CoreCore imagery

comment:12 Changed 6 months ago by SiiG

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:13 Changed 6 months ago by skyper

See JavaTest. OP seems to be windows?

comment:14 Changed 6 months ago by simon04

@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 Changed 6 months ago by simon04

Summary: JOSM ERROR : Unable to retrieve WMS layers listUnable to retrieve WMS layers list from carto.siig.fr

comment:16 Changed 6 months ago by SiiG

Summary: Unable to retrieve WMS layers list from carto.siig.frJOSM ERROR : Unable to retrieve WMS layers list

Thanks but what do you mean ?
I do not understand "OP"?!?

comment:17 Changed 6 months ago by stoecker

The certificate chain is incomplete, so that JOSM wont accept the cert.

There are two possibilities:

comment:18 Changed 6 months ago by stoecker

Resolution: othersoftware
Status: needinfoclosed

comment:19 Changed 6 months ago by SiiG

OK
Thank you for your answer
We will try to complete our certificate

comment:20 Changed 6 months ago by SiiG

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.

Modify Ticket

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