Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GA Prehost test v2017-04-13 - Could not load JSON error #477

Closed
EhsanCanberra opened this issue Apr 20, 2017 · 2 comments
Closed

GA Prehost test v2017-04-13 - Could not load JSON error #477

EhsanCanberra opened this issue Apr 20, 2017 · 2 comments

Comments

@EhsanCanberra
Copy link

Error displayed when tried to open catalogue item:
Local Government/ New South Wales/ Lake Macquarie/Complying Development Certificates ... Macquarie City Council

@EhsanCanberra EhsanCanberra changed the title GA Preprod test v2017-04-13 - Could not load JSON error GA Prehost test v2017-04-13 - Could not load JSON error Apr 20, 2017
@steve9164
Copy link
Member

This is a CORS error. Since the file is not hosted at a .gov.au address it isn't automatically proxied. Looking at the actual response from the server:

{
"data_set": "cdc-submitted-last-week",
"publisher": "Lake Macquarie City Council",
"url": "http://apptracking.lakemac.com.au/modules/ApplicationMaster/openda.aspx?&1=lastweek&4a=434&5=T&format=json",
"date_start": "9/04/2017",
"date_end": "15/04/2017",
"applications": []
}

there's nothing to draw anyway.

@kring
Copy link
Member

kring commented May 15, 2017

Added lakemac.com.au to the proxy whitelist. This doesn't fix the "Complying Development Certificates" dataset for the reason @steve9164 mentioned. But other datasets (e.g. Natural Resources -> Community Ecosystem Monitoring data - Lake Macquarie City Council) now work (even in IE9).

@kring kring closed this as completed May 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants