Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB profile not working anymore? #51

Open
akloeckner opened this issue Jan 8, 2025 · 3 comments
Open

DB profile not working anymore? #51

akloeckner opened this issue Jan 8, 2025 · 3 comments

Comments

@akloeckner
Copy link
Contributor

Since Wednesday around mid-day, the DB profile does not seem to work anymore. Users noticed in the Home Assistant custom component, see akloeckner/hacs-hafas#21. But the same error happens in your daily test build, see here: https://github.com/FahrplanDatenGarten/pyhafas/actions/runs/12670429471/job/35310067123#step:5:86 . It appears, the mgate.exe returns 503 Temporarily unavailable. Another project states that mgate.exe was shut down, see this commit to their front-end. This sounds more like a permanent shutdown. I haven't noticed any other bug reports so far in related projects (such as the JavaScript hafas-client), nor could I find any official announcements on this. But I might just not tap into the right channels...

Are you aware of any changes to the endpoint? Or could it actually just be a temporary downtime?

@leona-ya
Copy link
Member

leona-ya commented Jan 8, 2025

This db hafas meats.exe actually responds with 503 now. Right now it’s not really clear whether it will come back. There are some rumors that it’s gone forever.

This is unfortunately a general issue :/

@akloeckner
Copy link
Contributor Author

😞 Thanks for the quick feedback!

Let's hope, it will come back. Or a suitable alternative.

@leona-ya leona-ya pinned this issue Jan 9, 2025
@traines-source
Copy link

traines-source commented Jan 12, 2025

I deem it very unlikely that it comes back, see schildbach/public-transport-enabler#610 and public-transport/hafas-client#331. You may be able to use db-vendo-client as a drop-in replacement via HTTP REST, since the API of pyhafas and hafas-client/db-vendo-client should be somewhat similar (and with the OpenAPI schema you might be able to automatically generate a REST API client for python). Or someone needs to port the relevant parts of db-vendo-client/public-transport-enabler to python. I currently don't see myself doing that, but the docs, traffic dumps and code in these two repos should help anyone who does :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants