opentripplanner / OpenTripPlanner

An open source multi-modal trip planner
http://www.opentripplanner.org
Other
2.16k stars 1.02k forks source link

Premature end of Content-Length delimited message body (expected: 623445250; received: 586387456) #5839

Open miklcct opened 4 months ago

miklcct commented 4 months ago

NOTE: this issue system is intended for reporting bugs and tracking progress in software development. For all other usage and software development questions or discussion, please post a question in our chat room: https://gitter.im/opentripplanner/OpenTripPlanner.

Expected behavior

OpenTripPlanner can directly load GTFS from the Internet

Observed behavior

After near an hour of starting OTP, it fails due to

(OTPMain.java:60) An uncaught error occurred inside OTP: Failed to load https://data.bus-data.dft.gov.uk/timetable/download/gtfs-file/all/: Premature end of Content-Length delimited message body (expected: 623445250; received: 586387456)

It does not happen if I download the GTFS beforehand

Version of OTP used (exact commit hash or JAR name)

otp-2.4.0-shaded.jar

Data sets in use (links to GTFS and OSM PBF files)

https://data.bus-data.dft.gov.uk/timetable/download/gtfs-file/all/

Command line used to start OTP

java -Xmx96G -jar /home/aubin/opentripplanner/otp.shaded.jar --load --serve /home/aubin/opentripplanner

Router config and graph build config JSON

In the config below, national_rail_gtfs.zip needs to be supplied manually. In my set up it is generated by dtd2mysql tool.

{
    "boardingLocationTags": ["ref", "naptan:AtcoCode", "naptan:NaptanCode"],
    "osmDefaults" : {
        "timeZone" : "Europe/London",
        "osmTagMapping" : "uk"
    },
    "transitFeeds" : [
        {
            "type" : "gtfs",
            "feedId" : "DfT",
            "source" : "https://data.bus-data.dft.gov.uk/timetable/download/gtfs-file/all/"
        },
        {
            "type" : "gtfs",
            "feedId" : "NR",
            "source" : "national_rail_gtfs.zip"
        }
    ]
}