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

Gather API keys for transit feeds that require them #29

Open
11 of 33 tasks
barbeau opened this issue Feb 1, 2018 · 1 comment
Open
11 of 33 tasks

Gather API keys for transit feeds that require them #29

barbeau opened this issue Feb 1, 2018 · 1 comment
Assignees

Comments

@barbeau
Copy link
Member

barbeau commented Feb 1, 2018

Summary:

From #8, which implemented the CsvDownloader:

A note for our internal processing tools - we need to compile API keys for the following transit agencies and add them to our CSV file (or otherwise figure out why they aren't working). See below for list from #8):

List of feeds from TransitFeeds.com we need API keys for, along with dev website URL

We may also need to include Denver RTD as well - here's the error message we're currently getting for those URLs:

Error reading GTFS-realtime feed 'http://www.rtd-denver.com/google_sync/VehiclePosition.pb' - java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.rtd-denver.com/google_sync/VehiclePosition.pb
Error reading GTFS-realtime feed 'http://www.rtd-denver.com/google_sync/TripUpdate.pb' - java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.rtd-denver.com/google_sync/TripUpdate.pb

Steps to reproduce:

Run the tool using both the TransitFeeds.com API and our CSV file

Expected behavior:

Download feeds successfully from the above URLs (e.g., if they require API keys, add them to our CsvDownloader)

Observed behavior:

We can't automatically process these feeds from the TransitFeeds.com API

Platform:

Windows 7 Enterprise SP1 with Java 64bit 9.0.1

@barbeau barbeau self-assigned this Feb 1, 2018
@barbeau barbeau changed the title Compile API keys for transit feeds that require them Gather API keys for transit feeds that require them Feb 7, 2018
@barbeau
Copy link
Member Author

barbeau commented Feb 23, 2018

I just ran this again against TransitFeeds.com, and here's the current log output for fetching feeds that I haven't already listed above - note that it appears some of them have broken URLs coming from TransitFeeds.com:

Error downloading GTFS-realtime feed 'http://feed.ltd.org/gtfs-realtime/alerts' - java.io.FileNotFoundException: http://feed.ltd.org/gtfs-realtime/alerts
Error downloading GTFS-realtime feed 'http://kingston.metrolinx.tmix.se/gtfs-realtime/vehicleupdates.pb' - java.net.ConnectException: Connection timed out: connect
Error downloading GTFS-realtime feed 'http://kingston.metrolinx.tmix.se/gtfs-realtime/tripupdates.pb' - java.net.ConnectException: Connection timed out: connect
Error downloading GTFS-realtime feed 'http://kingston.metrolinx.tmix.se/gtfs-realtime/alerts.pb' - java.net.ConnectException: Connection timed out: connect
Error downloading GTFS-realtime feed 'http://transitdata.calgary.ca/ctransit/alerts.pb' - java.io.FileNotFoundException: http://transitdata.calgary.ca/ctransit/alerts.pb
Error downloading GTFS-realtime feed 'http://transitdata.calgary.ca/ctransit/tripupdates.pb' - java.io.FileNotFoundException: http://transitdata.calgary.ca/ctransit/tripupdates.pb
Error downloading GTFS-realtime feed 'http://transitdata.calgary.ca/ctransit/vehiclepositions.pb' - java.io.IOException: Server returned HTTP response code: 403 for URL: http://transitdata.calgary.ca/ctransit/vehiclepositions.pb
Error downloading GTFS-realtime feed 'https://gtfsrt.api.translink.com.au/Feed/MCS' - java.io.FileNotFoundException: https://gtfsrt.api.translink.com.au/Feed/MCS
Error downloading GTFS-realtime feed 'http://onebusaway.gatech.edu:8080/vehicle-positions' - java.net.UnknownHostException: onebusaway.gatech.edu
Error downloading GTFS-realtime feed 'http://onebusaway.gatech.edu:8080/trip-updates' - java.net.UnknownHostException: onebusaway.gatech.edu
Error downloading GTFS feed 'http://www.riversidetransit.com/google_transit.zip' - java.io.IOException: Server returned HTTP response code: 403 for URL: https://www.riversidetransit.com/google_transit.zip

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

No branches or pull requests

1 participant