MobilityData / gtfs-realtime-validator

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

Documentation: Unable to get GTFS feed #153

Open agougoua opened 2 years ago

agougoua commented 2 years ago

Summary:

After adding URLs for GTFS zip file and GTFS-realtime feed, when I click on "Start", I receive "GTFS Feed error : Not Found. Not Found".

Steps to reproduce:

Command on prompt Windows: java -jar gtfs-realtime-validator-webapp-1.0.0-20220223.003525-2.jar (successfull): image

Go to http://localhost:8080 (successfull) AND add URLs for GTFS zip file and GTFS-realtime feed (successfull): image

Expected behavior:

Validate feed.

Observed behavior:

Failed when I click on "Start" with this error: image

Platform:

OS: Windows 10 Java version: 11.0.15.1 Browser: Firefox

barbeau commented 2 years ago

@agougoua Thanks for the report! Could you provide a screenshot of the console after you get the error popup for "GTFS Feed error"? There should be more helpful details there.

agougoua commented 2 years ago

@barbeau yes sure! This is below: image

barbeau commented 2 years ago

Hmmm...are you sure that screenshot is from after you get an error? The last line in your screenshot above is the one you see right after startup. If you started loading a GTFS feed and got an error there should be more printouts.

agougoua commented 2 years ago

That is the problem I think, I have not any messages in the prompt. I checked the solution of this issue https://github.com/CUTR-at-USF/gtfs-realtime-validator/issues/389#issuecomment-730531402 but it is not really the same because I use Java11 and crypto.policy is already "unlimited".

evansiroky commented 1 year ago

I'm chiming in to say that I also ran into this issue using the package hosted. I tried running the webapp in debug mode in IntelliJ and did not experience this issue.

agougoua commented 1 year ago

Hi @barbeau, I succeeded to running and validating a GTFS-RT feed (see below). image

The problem was I did not build the project before running the webapp validator. But, one issue reveals, this section does not true without building the project in local machine ?

agougoua commented 1 year ago

The solution was to follow instructions of the section Building the project.

emmambd commented 1 year ago

+1'ing this as a confusing documentation problem. I had the same problem until I encountered this issue. Clarifying that the Quick Start section is after Build the Project for first time users would make things clearer. @isabelle-dr