Closed lapaesleme closed 8 years ago
Hi
we have two problems here.
1) the catalog url is incorrect: instead of https://datahub.io/api/3
please use https://datahub.io
wihtout /api/3
2) the SSL exception is a Jackan 0.4.2 problem. If you compile latest branch-0.4
with the 0.4.3-SNAPSHOT
version, it will work. Hopefully I will find the time to do a proper release in the following weeks.
Let me know if you have further issues
Thanks a lot David!
After compiling the current version (0.4.3-SNAPSHOT) I manged to access http://datahub.io.
Concerning to your message, I did use the address http://datahub.io since the beginning. The sufix "/api/3" was added by the CkanClient.
Additionally, as I don't have a CKAN instance installed, I had to rip off the writing test cases. It was not a big issue to me since I am interested only in reading access.
A final comment, is that I had to replace the line {String sts = "1970-01-01T01:00:00.000010";} with the line {String sts = "1969-12-31T21:00:00.000010";} in the class CkanJacksonTest in order to wokaround test failures.
A final comment, is that I had to replace the line {String sts = "1970-01-01T01:00:00.000010";} with the line {String sts = "1969-12-31T21:00:00.000010";} in the class CkanJacksonTest in order to wokaround test failures.
You discovered another bug (see #40), now should be fixed in branch-0.4
.
Thanks for reporting!
Dears, I am getting the following error message while accessing http://datahub.io via cc.getDatasetList().
Error message --> Exception in thread "main" eu.trentorise.opendata.jackan.exceptions.CkanException: Error while performing GET. Request url was: https://datahub.io/api/3/api/3/action/package_list?limit=1000&offset=0 CkanClient{catalogURL=https://datahub.io/api/3, ckanToken=null} Caused by: javax.net.ssl.SSLException: hostname in certificate didn't match: != <.ckan.io> OR <.ckan.io> OR
Is there any workaround on this problem?
Thanks a lot.