[ckan-dev] ...not allowed by Access-Control-Allow-Origin, even though resource_proxy is enabled.

Henrik Aagaard Sørensen BU1G at tmf.kk.dk
Thu Aug 8 06:45:27 UTC 2013


I get the following error:

XMLHttpRequest cannot load http://wfs-kbhkort.kk.dk/k101/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=k101:groenne_cykelruter&outputFormat=json&SRSNAME=EPSG:4326. Origin http://data.kk.dk is not allowed by Access-Control-Allow-Origin.

Even though resource_proxy is enabled, which results in gateway timeout (hopefully).

The site is on http://data.kk.dk/dataset/gronne-cykelruter/resource/8d64d2e0-00d1-4ff4-a36d-4f0a34949576

Can anyone help me out on how to solve the issue?

This is the error-log:
[Thu Aug 08 08:44:38 2013] [error] [client 127.0.0.1] mod_wsgi (pid=1669): Exception occurred processing WSGI script '/etc/ckan/default/apache.wsgi'.
[Thu Aug 08 08:44:38 2013] [error] [client 127.0.0.1] IOError: failed to write data
[Thu Aug 08 08:44:38 2013] [error] 2013-08-08 08:44:38,254 INFO  [ckan.lib.base]  /api/i18n/da render time 0.027 seconds
[Thu Aug 08 08:44:38 2013] [error] 2013-08-08 08:44:38,401 INFO  [ckanext.resourceproxy.controller] Proxify resource 8d64d2e0-00d1-4ff4-a36d-4f0a34949576
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130808/a282c162/attachment.html>


More information about the ckan-dev mailing list