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

HTTP 403 for http://www.viainfo.net/BusService/google_transit.zip #30

Closed barbeau closed 6 years ago

barbeau commented 6 years ago

Summary:

When using the following CSV records in feeds.csv:

id,title,gtfs_url,gtfs_rt_url
"40000-San Antonio, TX, USA","VIA Trip Updates",http://www.viainfo.net/BusService/google_transit.zip,http://gtfs.viainfo.net/tripupdate/tripupdates.pb
"40000-San Antonio, TX, USA","VIA Vehicle Positions",http://www.viainfo.net/BusService/google_transit.zip,http://gtfs.viainfo.net/vehicle/vehiclepositions.pb
"40000-San Antonio, TX, USA","VIA Alerts",http://www.viainfo.net/BusService/google_transit.zip,http://gtfs.viainfo.net/alert/alerts.pb

I'm getting this error:

Error downloading GTFS feed 'http://www.viainfo.net/BusService/google_transit.zip' - java.io.IOException: Server returned HTTP response code: 403 for URL: http://www.viainfo.net/BusService/google_transit.zip

http://www.viainfo.net/BusService/google_transit.zip works fine to download the GTFS in Chrome.

Steps to reproduce:

Run the tool with the following parameters:

-directory test-csv -csv "feeds.csv"

...and the VM argument:

-Djsse.enableSNIExtension=false

Expected behavior:

Download the GTFS data from http://www.viainfo.net/BusService/google_transit.zip into the directory test-csv

Observed behavior:

I get the HTTP 403

Platform:

Windows 7 Enterprise w/ jdk1.8.0_73