This resource cannot be viewed at this time. - CKAN

Im works with CKAN 2.2 on Ubuntu 12.04 LTS (GNU / Linux 3.2.0-23-generic x86_64).

I loaded the dataset into a CKAN instance. It has been downloaded successfully and can be downloaded as well. But when I try to view the database, I get the error below.

This resource cannot be viewed at this time.

When I click "Click here for more information," he says

Failed to load preview: DataProxy returned an error (Request Error: The backend did not respond after 10 seconds)

How can I fix this error?

+6
source share
2 answers

The problem is that the data proxy (which is used to convert csv to what the data preview can understand) is a server on the Internet. Therefore, the files you want to view must be publicly accessible from the Internet. localhost is your own computer, which means dataproxy cannot access it. To solve this problem, wither the file in the data warehouse using datastorer or put the file on the server and specify the correct URL.

.

This is because the data proxy, which is used to convert the data into something that we can view with the help of folding, requires that the files are accessible from the Internet. The best solution is to store the data in the data warehouse, and then the preview will work.

Extracted from here and here

+4
source

Sometimes you get the same message as the question with the headline:

This resource cannot be viewed at this time.

But when you click "Click here for more information," it says:

Failed to load preview: DataProxy returned an error (Data conversion error. Error: An error occurred while connecting to the server: DNS lookup failed for URL: http: /// dataset / c3ce226b-73bd-4b06-9d1b-ffea13d5f770 / resource / 580fb05f -6d86-4748-aac7-560b904a208f / download / foo.csv)

In this case, it is possible that the datapusher plugin is not working. First follow the instructions for the datapusher in the CKAN manual. If you already did this or you installed CKAN from a package, check the CKAN configuration in the production.ini file (development.ini). A small checklist to solve the problem:

  • add datapusher to "ckan.plugins"
  • set "ckan.site_url"
  • install "ckan.datapusher.url"
  • check apache server logs / nginx (/var/log/apache2/datapusher.*.log,/var/log/apache2/ckan_default*.log)
+1
source

All Articles