[ckan-dev] CKANv2.7.2 - API Issue

Matthew Fullerton matt.fullerton at gmail.com
Tue Oct 3 18:45:26 UTC 2017


Dear Luis,
I have the same problem with a CKAN here, built with Docker/Docker-compose.
I have several CKANs built the same way and only this one is giving me 404s
for all API endpoints. I've tracked it down to this commit:
https://github.com/ckan/ckan/commit/ca0eb5422d9349e84e3f38d1b6a55ddd83c82a8c
(before this it works, afterwards not)

But I have not (yet) figured out which part of that commit breaks it, or
why this is only happening on one CKAN and not the others.

Best,
Matt

On 3 October 2017 at 14:53, Alessio Dragoni <alessio.dragoni at gmail.com>
wrote:

> Apparently looking  at your gists it seems no valid reasons why isn't
> working
> However if your dataset has been kept PRIVATE it might be that it's show
> only online if you are logged and not through the APIs
>
> Alessio
>
>
> On 03/10/2017 14:42, Luis Almeida wrote:
>
> 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>
> 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> 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/a
> ction/package_list', I got nothing.
>
>
> Output with curl + /api -> https://gist.github.com/ano
> nymous/7bc42783dfffe6cef74b10c4b9704d46
>
> Ckan log when I make a api request -> https://gist.github.com/ano
> nymous/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
> 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
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
>
>
> _______________________________________________
> ckan-dev mailing listckan-dev at lists.okfn.orghttps://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
> 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/e66aff64/attachment-0003.html>


More information about the ckan-dev mailing list