fahrplan icon indicating copy to clipboard operation
fahrplan copied to clipboard

ÖBB Backend broken?

Open luchmhor opened this issue 3 years ago • 3 comments

I tried to switch from the German DB backend to the Austrian Backend (ÖBB) because Austrian Busses are not listed in the German backend. But the search for stations gives no results. I checked the URL in the backend and it seems to be fine: http://fahrplan.oebb.at/bin/query.exe

Can anyone verify?

luchmhor avatar Nov 04 '21 09:11 luchmhor

I can confirm that issue. Log output is:

[D] unknown:0 - Set parser: 1
[W] unknown:0 - Bad data in response (can not find gzip magic number)
[D] expression for onParserErrorOccured:211 - Got error
[D] expression for onParserErrorOccured:212 - Mit der Datenquelle ist ein Fehler aufgetreten
[D] expression for onParserErrorOccured:109 - Got error
[D] expression for onParserErrorOccured:110 - Mit der Datenquelle ist ein Fehler aufgetreten

soulsource avatar Jan 05 '22 20:01 soulsource

Actually the URL has changed.

HTTP/1.1 302 Found : Moved Temporarily
Location: https://fahrplan.oebb.at/bin/query.exe

The key point is https. I'll make a pull request.

soulsource avatar Jan 05 '22 21:01 soulsource

However there might be more amiss. It worked when I tried it an hour ago, but now I get unknown connectionDetailsVersion for some connections, with a connectionDetailsVersion of 5 (while the app only accepts version 1).

While I don't know what drawbacks it has, I've now switched from HAFASBinary to HAFASXml in the same Pull Request. This seems to work around that incompatibility.

soulsource avatar Jan 05 '22 21:01 soulsource