Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certificate Verify Failed #104

Open
jvanulde opened this issue Jul 31, 2018 · 4 comments
Open

Certificate Verify Failed #104

jvanulde opened this issue Jul 31, 2018 · 4 comments

Comments

@jvanulde
Copy link

jvanulde commented Jul 31, 2018

Trying to register the following fails:

{
"en": {
	"service_url": "https://geoportal.gc.ca/arcgis/rest/services/FGP/West_Coast_Vancouver_Island_Synnoptic_Bottom_Trawl_Survey/MapServer/0",
	"service_type": "esriFeature",
	"metadata": {
		"metadata_url": "https://gcgeo.gc.ca:443/geonetwork/srv/eng/xml.metadata.get?uuid=557e42ae-06fe-426d-8242-c3107670b1de",
		"catalogue_url": "https://gcgeo.gc.ca:443/geonetwork/metadata/eng/557e42ae-06fe-426d-8242-c3107670b1de"
	},
	"service_name": "West Coast Vancouver Island Synoptic Bottom Trawl Survey"
},
"fr": {
	"service_url": "https://geoportal.gc.ca/arcgis/rest/services/FGP/West_Coast_Vancouver_Island_Synnoptic_Bottom_Trawl_Survey/MapServer/1",
	"service_type": "esriFeature",
	"metadata": {
		"metadata_url": "https://gcgeo.gc.ca:443/geonetwork/srv/fre/xml.metadata.get?uuid=557e42ae-06fe-426d-8242-c3107670b1de",
		"catalogue_url": "https://gcgeo.gc.ca:443/geonetwork/metadata/fre/557e42ae-06fe-426d-8242-c3107670b1de"
	},
	"service_name": "Relevé synoptique au chalut de fond sur la côte ouest de l\u2019île de Vancouver"
},
"version": "2.0"
}

The following error is returned:

2018-07-31T20:46:45.134Z {"msg": "Problem communicating with service endpoint https://geoportal.gc.ca/arcgis/rest/services/FGP/West_Coast_Vancouver_Island_Synnoptic_Bottom_Trawl_Survey/MapServer/0 HTTPSConnectionPool(host='geoportal.gc.ca', port=443): Max retries exceeded with url: /arcgis/rest/services/FGP/West_Coast_Vancouver_Island_Synnoptic_Bottom_Trawl_Survey/MapServer/0?f=json (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)'),))"}

2018-07-31T20:46:45.134Z put failed 400

Test endpoint here: https://dev.rcs.gcgeo.gc.ca/static/test.html

@mweech
Copy link
Member

mweech commented Sep 14, 2018

What version of RCS is this?

@jvanulde
Copy link
Author

2.3.2

@mweech
Copy link
Member

mweech commented Sep 17, 2018

v3.0 of RCS was released on May 4th to address the remaining edge cases with SSL verification due to Python versions being out of date. This registers fine on our v3.0 RCS. You should upgrade to the newest version and let us know if this continues to be an issue.

{
"en": {
"service_url": "https://geoportal.gc.ca/arcgis/rest/services/FGP/West_Coast_Vancouver_Island_Synnoptic_Bottom_Trawl_Survey/MapServer/0",
"service_type": "esriFeature",
"service_name": "West Coast Vancouver Island Synoptic Bottom Trawl Survey"
},
"fr": {
"service_url": "https://geoportal.gc.ca/arcgis/rest/services/FGP/West_Coast_Vancouver_Island_Synnoptic_Bottom_Trawl_Survey/MapServer/1",
"service_type": "esriFeature",
"service_name": "Relevé synoptique au chalut de fond sur la côte ouest de l\u2019île de Vancouver"
},
"version": "2.0"
}

@AndrewWSHenry
Copy link

@mweech
Is there a specific version of the viewer that needs to be used With v3.0 of RCS.

In dev we presently have version 2.4+ (2.5ish) of the viewer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants