vta / Open-Data-Portal

connection to VTA's open data portal
http://data2.vta.org/
3 stars 4 forks source link

Datapusher URL stays within docker-compose #63

Open riordan opened 7 years ago

riordan commented 7 years ago

Summary

This pull request changes the datapusher URL to use docker-compose style networking, so that requests to datapusher are independent of the site url.

Background

First of all - thank you for creating this incredibly well-documented way to set up CKAN. I'd been looking for a way to build a durable CKAN that was easy to reproduce, stored files on S3, and could be easily ported to a new machine without impact.

After I deployed the system following your instructions, CKAN wasn't connecting to datapusher at all. This took a long time to troubleshoot and was manifesting in 504 timeout errors every time we tried to add a new resource to a dataset and nothing entering the datastore.

Then, any resource we added that was hosted on another site was being served through the OKF Dataproxy service on Google, which frequently runs out of free bandwidth, so our data previews failed.

Anyhow, this was when it became clear that something was wrong with the datastore and the datapusher.

It appears this was also the case with prior issue #47 (datapusher isn't talking to other services)

Changes

riordan commented 7 years ago

(original comment updated to reflect an over-eager submission)

Kyle-Falconer commented 7 years ago

Wow thanks for looking into this. I know I spent quite a while on this problem as well and never really figures it out. We will test this and let you know.