machine icon indicating copy to clipboard operation
machine copied to clipboard

Dashboard broken: CORS, also data not updating

Open NelsonMinar opened this issue 6 years ago • 2 comments

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 avatar Jun 04 '19 17:06 NelsonMinar

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.

NelsonMinar avatar Jun 04 '19 17:06 NelsonMinar

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.

stefanb avatar Jul 12 '19 08:07 stefanb