Closed ippen closed 1 month ago
I suspected that BVG changed their API due to their new mobile app. I deployed https://github.com/public-transport/hafas-rest-api on my local and it returned a similar response:
Path: /stops/{id}/departures
{
"message": "CLIENTVERSION: HCI Core: Invalid client version",
"isHafasError": true,
"code": null,
"isCausedByServer": false,
"hafasCode": "CLIENTVERSION",
"url": "https://bvg-apps-ext.hafas.de/bin/mgate.exe?",
"hafasResponseId": "gwm84nccw8iugm4s",
"hafasMessage": "HCI Core: Invalid client version"
}
Using the https://v6.bvg.transport.rest/ also returned 503.
I checked VBB endpoint from issue #22 and it returns the correct response!
Thanks for reporting. I'm closing this Issue as a duplicate of #22.
Description:
Since Monday, the API has stopped working. This issue also affects the API Playground, which is currently broken. Additionally, I attempted to use the provided Docker image but encountered an error when accessing the API on localhost.
Steps to Reproduce:
Run the provided Docker image using the following command:
Use the following curl command to access the API on localhost:
Observed Behavior:
The following error message is returned:
Appreciation and Engagement:
I greatly appreciate the work that goes into maintaining this project. It has been incredibly useful for my small widget using KWGT to show me the time of my bus, which relies on this API. You can see the project here.
I am also interested in supporting the project more and can sponsor via GitHub.
Thank you!