schildbach / public-transport-enabler

Unleash public transport data in your Java project.
https://groups.google.com/forum/#!forum/public-transport-enabler-discuss
GNU General Public License v3.0
388 stars 133 forks source link

[BVG not working] BVG: java.io.IOException: got response: 307 Temporary Redirect: https://bvg-apps.hafas.de/bin/mgate.exe #386

Closed rafaces closed 3 years ago

rafaces commented 3 years ago

Context

BVG connection not working, getting java.io.IOException. See details below (I've removed my coordinates and some address information for privacy)

Query

Error

java.io.IOException: got response: 307 Temporary Redirect: https://bvg-apps.hafas.de/bin/mgate.exe
de.schildbach.pte.util.HttpClient.getInputStream(HttpClient.java:293)
de.schildbach.pte.util.HttpClient.get(HttpClient.java:205)
de.schildbach.pte.AbstractHafasClientInterfaceProvider.jsonLocMatch(AbstractHafasClientInterfaceProvider.java:468)
schildbach commented 3 years ago

This is already fixed via 20392732fa61cefae3bf2a1ab9da26d5b763227f.