whosonfirst / whosonfirst-www-boundaryissues

Boundary Issues is a web-application for editing Who's On First data.
BSD 3-Clause "New" or "Revised" License
8 stars 0 forks source link

Unable to download descendant records #342

Closed stepps00 closed 7 years ago

stepps00 commented 7 years ago

I am unable to retrieve a bundled set of descendant records from the bundler tool.

Steps to repeat:

  1. Go to https://whosonfirst.mapzen.com/spelunker/download/85633789/?exclude=nullisland
  2. Click the box next to "region (20)"
  3. Click "Start Bundle"

You should see the following error message:

Error: connection failed [object ProgressEvent] (999)

Screenshot:

screen shot 2017-11-01 at 3 36 51 pm
dphiffer commented 7 years ago

My initial read on it is this looks like a CORS issue.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://places.mapzen.com/?api_key=(snip). (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
dphiffer commented 7 years ago

I think I found the source of the problem. It wasn't CORS after all. Instead, it seems that requests are going to the wrong endpoint. Until I get a fix in I've disabled the bundler feature.

dphiffer commented 7 years ago

Turned out to be a config file issue. Ran opzworks berks and redeployed, and now it should be back to working.