[ckan-dev] CKANv2.7.2 - API Issue

Luis Almeida lpalmeida at ua.pt
Tue Oct 3 12:42:31 UTC 2017


Hey Alessio,

I used your repo and yes, it’s working. Thank’s a lot! But I’d still wanted to know why the api is not working on my vagrant box. Do you have any idea about that?

Thanks,
Luís Almeida

On 3 Oct 2017, at 13:15, Alessio Dragoni <alessio.dragoni at gmail.com<mailto:alessio.dragoni at gmail.com>> wrote:

Hi Louis,
I've not tested the standard vagrant box for ckan 2.7.2 but we have released a vagrant setup that is working smoothly and include some additional goodies like recent versions of Postegres, SOLR and few common extensions.

If you want give it a try is available here: https://gitlab.com/sciamlab/ckan-vagrant

Ciao,
Alessio


On Oct 3, 2017 13:46, "Luis Almeida" <lpalmeida at ua.pt<mailto:lpalmeida at ua.pt>> wrote:
Hello,

I've made an installation of CKAN from source with Vagrant. Everything works fine with the user interface but when I try to interact with ckan instance using the Action API, I receive always the same response, 404 Resource Not Found.

Example: I have one dataset called 'test'. If I make a curl request to 'http://localhost:5000/dataset/test' I get the html corresponding to dataset but if I make a curl request to 'http://localhost:5000/api/3/action/package_list', I got nothing.


Output with curl + /api -> https://gist.github.com/anonymous/7bc42783dfffe6cef74b10c4b9704d46

Ckan log when I make a api request -> https://gist.github.com/anonymous/ffbd09335f8c8d70b68c433233b635a2


I did everything what's said in the docs during the installation and configuration of my instance.

Can you help me?

Thanks,
Luís Almeida

_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org<mailto:ckan-dev at lists.okfn.org>
https://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev


_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org<mailto:ckan-dev at lists.okfn.org>
https://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20171003/5eb62bc0/attachment-0003.html>


More information about the ckan-dev mailing list