Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years 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 4 years ago.
qgis.jpg (43.0 KB ) - added by SiiG 4 years ago.

Download all attachments as: .zip

Change History (22)

by SiiG, 4 years ago

Attachment: screenshot_josm.jpg added

comment:1 by SiiG, 4 years ago

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

comment:2 by Klumbumbus, 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 SiiG, 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 SiiG, 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 SiiG, 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 SiiG, 4 years ago

Attachment: qgis.jpg added

comment:6 by SiiG, 4 years ago

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

comment:7 by GerdP, 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:8 by skyper, 4 years ago

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

comment:9 by skyper, 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.
  • 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.

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 skyper, 4 years ago

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

comment:11 by skyper, 4 years ago

Component: CoreCore imagery

comment:12 by SiiG, 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:13 by skyper, 4 years ago

See JavaTest. OP seems to be windows?

comment:14 by simon04, 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 simon04, 4 years ago

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

comment:16 by SiiG, 4 years ago

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 by stoecker, 4 years ago

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

There are two possibilities:

comment:18 by stoecker, 4 years ago

Resolution: othersoftware
Status: needinfoclosed

comment:19 by SiiG, 4 years ago

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

comment:20 by SiiG, 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.

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. 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.