Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Dashboard broken: CORS, also data not updating #722

Open
NelsonMinar opened this issue Jun 4, 2019 · 2 comments
Open

Dashboard broken: CORS, also data not updating #722

NelsonMinar opened this issue Jun 4, 2019 · 2 comments

Comments

@NelsonMinar
Copy link
Contributor

The machine dashboard at http://results.openaddresses.io/dashboard is broken.

The primary bug is the CORS header on https://s3.amazonaws.com/data.openaddresses.io/machine-stats.json is not being set, so the data won't load. We already have an open issue #704 for that.

The secondary bug is the data file at https://s3.amazonaws.com/data.openaddresses.io/machine-stats.json is not being updated properly? The last row in the timeseries object is from 2018-12-31. I wonder if some code has a dumb limit in it that needs to be expanded?

I did a one-off of the dashboard to work around the CORS header, it's temporarily available at http://www.somebits.com/~nelson/tmp/oa-dashboard-20190604/OpenAddresses%20%e2%80%94%c2%a0Dashboard.html
It suffers from the old data though.

@NelsonMinar
Copy link
Contributor Author

I took a quick look at https://github.com/openaddresses/machine/blob/master/openaddr/ci/dashboard_stats.py and don't see any obvious reason the data would have stopped at 2018-12-31. There's no dumb limit on a query, at least. I think the next thing to look at is whether the database this is pulling from is being updated.

@stefanb
Copy link
Contributor

stefanb commented Jul 12, 2019

Problem with CORS headers is known since #704

According to
http://results.openaddresses.io/sets/
the batch sets processing seem to have stopped 3 weeks ago.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants