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

Frequent "Service Temporarily Unavailable" Errors #29

Open
jaeniboy opened this issue Jan 12, 2025 · 1 comment
Open

Frequent "Service Temporarily Unavailable" Errors #29

jaeniboy opened this issue Jan 12, 2025 · 1 comment

Comments

@jaeniboy
Copy link

I used this library and it worked perfectly at first. After three weeks, it started giving me a "CGI_NO_SERVER: unknown error" every fourth or fifth request. I solved this problem more or less well with retry logic. For the past three or four days, it has been totally broken since every departures request gives me a "Service Temporarily Unavailable" error. Is this a known issue?

@derhuerst
Copy link
Member

derhuerst commented Jan 13, 2025

Yes, unfortunately, the DB HAFAS API seems to have been shut off permanently. Because db-hafas just wraps hafas-client, see also the hafas-client tracking Issue about this.

From what the situation looks like right now, we'll have to deprecate hafas-client's db profile and db-hafas, and tell people to use alternative API clients like db-vendo-client (which tries to be API-compatible).

cc @traines-source

@derhuerst derhuerst changed the title Frequent "Service Temporarily Unavailable" Errors on Departures Requests Frequent "Service Temporarily Unavailable" Errors Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants