MobilityData / gtfs-realtime-validator

Java-based tool that validates General Transit Feed Specification (GTFS)-realtime feeds
Other
43 stars 10 forks source link

Unable to open GTFS file - SSL config #80

Closed isabelle-dr closed 2 years ago

isabelle-dr commented 2 years ago

Issue by mcplanner-zz Nov 11, 2020 Originally opened as https://github.com/CUTR-at-USF/gtfs-realtime-validator/issues/389


Summary:

I'm getting a "(Download failed) error for this static .zip file, though I can download the file directly in the browser without issue.

Steps to reproduce:

Ruths-MacBook-2:downloads ruthmiller$ java -Djsse.enableSNIExtension=false -jar gtfs-realtime-validator-webapp-1.0.0-SNAPSHOT.jar

https://www.modestoareaexpress.com/preview-gtfs.zip http://max.availtec.com/InfoPoint/GTFS-Realtime.ashx?Type=VehiclePosition http://max.availtec.com/InfoPoint/GTFS-Realtime.ashx?Type=Alert http://max.availtec.com/InfoPoint/GTFS-Realtime.ashx?Type=Tripupdate

Expected behavior:

I expected it to download the GTFS file.

Observed behavior:

"Bad Request. Downloading static GTFS feed from provided Url failed."

Platform:

MacOS Catalina 10.15.7 Java version: 11.0.5 Chrome version 86.0.4240.80


This there was a lot of back-and-forth comments on this issue, they weren't copied here. The bug was solved, and the label of this issue was changed to "docs". Go to the original issue for more context on this bug.

barbeau commented 2 years ago

As mentioned in PR https://github.com/MobilityData/gtfs-realtime-validator/pull/85, from recent testing on JDK 11 (java version "11.0.12" 2021-07-20 LTS) and JDK 17 (17.0.2) the SSL issue no longer seems to exist and we don't need special configuration for SSL in general for this project. As a result I'm closing this, but if someone runs into this issue again please feel free to re-open.