derhuerst / vbb-rest

An HTTP API for Berlin & Brandenburg public transport.
https://v6.vbb.transport.rest/
ISC License
123 stars 14 forks source link

error 502 on previously working journeys call #24

Closed mbariola closed 6 years ago

mbariola commented 6 years ago

Hi,

the call

https://vbb.transport.rest/journeys?from.latitude=52.45706&from.longitude=13.54009&to=900000192001&results=1&when=1518683781

now returns a 502 error and when opened from browser, this json:

{
"error": true,
"msg": "VBB error: HCI Service: request failed"
}
derhuerst commented 6 years ago

Looking into it.

derhuerst commented 6 years ago

VBB changed something in their API, which my API queries. The tests are suddenly failing. Not sure how to fix this yet.

derhuerst commented 6 years ago

I deployed the fix. Please confirm that the issue is resolved for you.

derhuerst commented 6 years ago

FYI: The 2.vbb.transport.rest endpoint (docs) is the successor of vbb.transport.rest (docs), which will soon be deprecated. Please migrate to the new endpoint to get new features and to reduce the maintenance effort for me.

deg0nz commented 6 years ago

@derhuerst Can you tell me when you will shut down the old endpoint?

mbariola commented 6 years ago

Hello, both this and #23 now work in browser, but I'll need to check tomorrow (the client is on a network not accessible from internet).

I think that I can switch to the new endpoint by monday, I'll update the issues to signal when I have done so.

derhuerst commented 6 years ago

@deg0nz Will do, yes.

@mbariola Thanks! Please reopen if you encounter this issue again.

I won't shut the old API off that soon. Expect it to be in a month or so.