public-transport-enabler
public-transport-enabler copied to clipboard
Dutch NS network does not work anymore :(
Query
- NetworkId:
NS
- From:
Location{STATION, 8400747, 52.5056240/6.0899040, name=Zwolle}
- Via:
null
- To:
Location{STATION, 8400083, 52.3531670/4.9492540, name=Amsterdam Science Park}
- Date:
Fri Aug 13 15:56:43 GMT+02:00 2021
- Departure:
true
- Products:
[HIGH_SPEED_TRAIN, REGIONAL_TRAIN, SUBURBAN_TRAIN, SUBWAY, TRAM, BUS, FERRY, CABLECAR, ON_DEMAND]
- Optimize for:
LEAST_DURATION
- Walk Speed:
FAST
Error
de.schildbach.pte.exception.UnexpectedRedirectException: https://hafas.bene-system.com/bin/query.exe/nn?start=Suchen&REQ0JourneyStopsS0ID=A%3D1%40L%3D8400747&REQ0JourneyStopsZ0ID=A%3D1%40L%3D8400083&REQ0HafasSearchForw=1&REQ0JourneyDate=13.08.21&REQ0JourneyTime=15%3A56&REQ0JourneyProduct_prod_list_1=1111111111&h2g-direct=11&clientType=ANDROID -> http://hafas.bene-system.com/bin/query.exe/nn?protocol=https:&start=Suchen&REQ0JourneyStopsS0ID=A%253D1%2540L%253D8400747&REQ0JourneyStopsZ0ID=A%253D1%2540L%253D8400083&REQ0HafasSearchForw=1&REQ0JourneyDate=13.08.21&REQ0JourneyTime=15%253A56&REQ0JourneyProduct_prod_list_1=1111111111&h2g-direct=11&clientType=ANDROID
de.schildbach.pte.util.HttpClient.getInputStream(HttpClient.java:288)
de.schildbach.pte.util.HttpClient.getInputStream(HttpClient.java:218)
de.schildbach.pte.util.HttpClient.getInputStream(HttpClient.java:214)
Additional information
The NS network in general does not seem to work. Hopefully you will be able to restore it :) Keep up the good work! I really love this app.
Screenshot in case it helps
Any chance you can look in to this? : )
NS apparently changed the API okt 2019. info can be found here https://www.ns.nl/reisinformatie/ns-api.
This project never used the NS API, which indeed changed when it got transferred to the NS Mlab department, but called the HAFAS instance of NS International.