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

Server return 503 #22

Closed
ahmed-ramzi opened this issue Aug 6, 2024 · 9 comments
Closed

Server return 503 #22

ahmed-ramzi opened this issue Aug 6, 2024 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@ahmed-ramzi
Copy link

ahmed-ramzi commented Aug 6, 2024

Hi there, it seems like the service is down
When querying data. For example,

https://v6.bvg.transport.rest/stops/900013102/departures?direction=900014101&duration=10

The result I get back

> GET /stops/900013102/departures?direction=900014101&duration=10 HTTP/2
> Host: v6.bvg.transport.rest
> user-agent: insomnia/9.3.3
> accept: application/json

* TLSv1.2 (IN), TLS header, Supplemental data (23):

< HTTP/2 503 
< alt-svc: h3=":443"; ma=2592000
< ratelimit-policy: 60; w=60
< server: Caddy
< content-length: 0
< date: Tue, 06 Aug 2024 14:00:28 GMT

In the home route however, the responses return 200

@billypchan
Copy link

I changed the url from BVG to vbb and got response. E.g.:

https://v6.vbb.transport.rest/locations?poi=false&addresses=false&query=mehringdamm

@ahmed-ramzi
Copy link
Author

ahmed-ramzi commented Aug 11, 2024

@billypchan Yes, I noticed that. However, by the time I posted this the VBB service was also down and returned 503, but it got back up in a few hours. I am just curious why the BVG service still doesn't work.

@matriphe
Copy link

I suspected that BVG changed their API due to their new mobile app. I also reported the issue in #23 as well.

@ippen
Copy link

ippen commented Aug 12, 2024

I changed the url from BVG to vbb and got response. E.g.:

https://v6.vbb.transport.rest/locations?poi=false&addresses=false&query=mehringdamm

This currently seems to be the workaround as a drop in replacement.
Simply change https://v6.bvg.transport.rest with https://v6.vbb.transport.rest

@gekberlin
Copy link

Unfortunately, when you use the VBHAS client data, there is no occupancy of the product given. So using the VBB client is totally fine for a short work round, but there is still a slight difference in the response data structure.

@gekberlin
Copy link

@derhuerst any chance to make an update (like there: public-transport/transport-apis#84) in the background to get the v6.bvg back to life?

pkoryzna added a commit to pkoryzna/eink-bvg-display that referenced this issue Sep 8, 2024
bvg endpoint seems down :(
derhuerst/bvg-rest#22
@derhuerst derhuerst added the bug Something isn't working label Sep 25, 2024
@derhuerst derhuerst self-assigned this Sep 25, 2024
@derhuerst
Copy link
Owner

I have fixed the underlying issue in hafas-client, but I still need to publish it to npm and then use it in v6.bvg.transport.rest.

@derhuerst
Copy link
Owner

The fix is deployed now. 🎉

@hg421
Copy link

hg421 commented Oct 13, 2024

Could you update the docker image too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants