OneGeology / TechnicalDiscussion

A location for TIG, TAG, and any future OneGeology technical group to discuss technical issues surrounding portal, catalogue, service implementations, etc
3 stars 1 forks source link

Import HTTPS WMS/WFS fails (Portal v2022.0.0 ) #74

Closed nmtoken closed 2 years ago

nmtoken commented 2 years ago

Trying to add an HTTPS WMS or WFS through the import functionality fails with error Please try with a valid URL.

image

Tried on http and https versions of the portal.

Tested services work in QGIS with no issues

Probably same issue is use of search bar for tested services resulting in No result found message

nmtoken commented 2 years ago

Portal sends a request like: https://portal.onegeology.org/OnegeologyGlobal/proxyxml?url=https%3A%2F%2Fogc.bgs.ac.uk%2Fcgi-bin%2FTFL-PSI%2Fows%3Fservice%3DWMS%26request%3DGetCapabilities%26version%3D1.3.0%26

Resulting in a HTTP/1.1 500 Erreur Interne de Servlet response

nicolas-m-brgm commented 2 years ago

It works for me on HTTP but doesn't work on HTTPS. I opened an issue on brgm side to check SSL configuration

nmtoken commented 2 years ago

Trying to add https://ogc.bgs.ac.uk/cgi-bin/BGS_BGS-HPA_Radon_Potential/ows? to http://portal.onegeology.org/OnegeologyGlobal/ doesn't work

Trying to add https://ogc.bgs.ac.uk/cgi-bin/BGS_BGS-HPA_Radon_Potential/ows? to https://portal.onegeology.org/OnegeologyGlobal/ doesn't work

Trying to add http://ogc.bgs.ac.uk/cgi-bin/BGS_BGS-HPA_Radon_Potential/ows? to https://portal.onegeology.org/OnegeologyGlobal/ works

Trying to add http://ogc.bgs.ac.uk/cgi-bin/BGS_BGS-HPA_Radon_Potential/ows? to http://portal.onegeology.org/OnegeologyGlobal/ works

nicolas-m-brgm commented 2 years ago

Our technical team told me there is an issue with the certificate of the service

It can be check here https://www.ssllabs.com/ssltest/analyze.html?d=ogc.bgs.ac.uk&hideResults=on&latest => Chain issues | Incomplete

image

Is there something you can ask to check ?

nmtoken commented 2 years ago

Issue with certificate is now resolved (missing intermediary certificate)

nmtoken commented 2 years ago

Trying to add https://ogc.bgs.ac.uk/cgi-bin/BGS_BGS-HPA_Radon_Potential/ows? to http://portal.onegeology.org/OnegeologyGlobal/ now works

nmtoken commented 2 years ago

Trying to add https://ogc.bgs.ac.uk/cgi-bin/BGS_BGS-HPA_Radon_Potential/ows? to https://portal.onegeology.org/OnegeologyGlobal/ now works