[ckan-dev] POSSIBLY SPOOFED: Re: POSSIBLY SPOOFED: Re: Error Resource view not available

Stefan Oderbolz odi at metaodi.ch
Fri May 3 01:36:53 UTC 2019


No unfortunately there is no such setting. The DataProxy has a lot of
limitations (files must be smaller than 2MB etc.), that most people agree
that it needs to be replaced (see
https://github.com/ckan/ideas-and-roadmap/issues/217).

There are two possible alternatives:

1. Setup DataStore (
https://docs.ckan.org/en/2.8/maintaining/datastore.html#datastore-extension),
which creates a local database of your tabular data (csv, excel etc.). You
might want to setup ckanext-xloader as well to automatically add data to
the DataStore (https://github.com/ckan/ckanext-xloader)

2. Setup ckanext-datapreview (
https://github.com/datagovuk/ckanext-datapreview), but you'll have to patch
CKAN to get it to work (see
https://github.com/datagovuk/ckanext-datapreview/blob/master/README.md#problems
).


Hope this helps.

- Stefan

On Fri, May 3, 2019, 03:02 Judith Moran <Judith.Moran at nt.gov.au> wrote:

> Hi,
>
>
>
> I am now getting a timeout error.
>
>
>
> Is there a timeout setting for the DataProxy that I can set.
>
>
>
> I have set the following:
>
>
>
>
>
> # Resource Proxy settings
>
> # Preview size limit, default: 1MB
>
> ckan.resource_proxy.max_file_size = 1048576
>
> # Size of chunks to read/write.
>
> ckan.resource_proxy.chunk_size = 4096
>
>
>
>
>
> Judy
>
>
>
> *From:* ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] *On Behalf Of *Judith
> Moran
> *Sent:* Thursday, 2 May 2019 5:14 PM
> *To:* CKAN Development Discussions <ckan-dev at lists.okfn.org>
> *Subject:* POSSIBLY SPOOFED: Re: [ckan-dev] POSSIBLY SPOOFED: Re: Error
> Resource view not available
>
>
>
> Hi,
>
>
>
> I did read that it uses an external service in one of the chats but didn’t
> really understand the relationship.  OK thanks I will talk to network guys
> about get it publicly accessable.
>
>
>
>
>
> Judy
>
>
>
> *From:* ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org
> <ckan-dev-bounces at lists.okfn.org>] *On Behalf Of *Stefan Oderbolz
> *Sent:* Thursday, 2 May 2019 5:11 PM
> *To:* CKAN Development Discussions <ckan-dev at lists.okfn.org>
> *Subject:* POSSIBLY SPOOFED: Re: [ckan-dev] Error Resource view not
> available
>
>
>
> The DataProxy is an external service which only works if the URL is
> publicly accessible. The domain dev-opendata.nt.gov.au is currently not
> available via public DNS (I couldn't resolve it, and online DNS lookups
> tell me the same). Make sure the domain is made public in order to get the
> DataProxy to work properly.
>
> Alternatively you could setup your own DataProxy locally.
>
>
>
> - Stefan
>
> On Thu, May 2, 2019, 09:29 Judith Moran <Judith.Moran at nt.gov.au> wrote:
>
> Hi,
>
>
>
> Any ideas as to why the DataExplorer is not finding the DNS.
>
>
>
>  This resource view is not available at the moment. *Click here for more
> information.*
> <http://dev-opendata.nt.gov.au/dataset/view-test/resource/8f708757-f993-4356-b6fe-30733cc71797>
>
> Could not load view: DataProxy returned an error (Data transformation
> failed. error: An error occurred while connecting to the server: DNS lookup
> failed for URL:
> http://dev-opendata.nt.gov.au/dataset/aed3f78e-bc01-461c-925a-4f62653c789f/resource/8f708757-f993-4356-b6fe-30733cc71797/download/file-list-ckan.xlsx
> )
>
>
>
> Regards,
>
>
>
>
>
> *Judy Moran*
> *Manager Data Strategy*
> Department of *Corporate and Information Services*
> Northern Territory Government of Australia
>
> *T:*  892 96550
> *E:*  DataStrategy.NTG at nt.gov.au
>
>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190503/feae84ca/attachment-0002.html>


More information about the ckan-dev mailing list