CUTR-at-USF / transit-feed-quality-calculator

A tool that uses the gtfs-realtime-validator to calculate the quality of a large number of GTFS-realtime feeds
Other
7 stars 1 forks source link

Gather API keys for transit feeds that require them #29

Open barbeau opened 6 years ago

barbeau commented 6 years ago

Summary:

From https://github.com/CUTR-at-USF/transit-feed-quality-calculator/issues/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 commented 6 years ago

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