derhuerst / vbb-rest

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

GET /stations/nearby failing #32

Closed nextlevelshit closed 6 years ago

nextlevelshit commented 6 years ago

While trying to get a response for the /stations/nearby GET request:

curl 'https://2.vbb.transport.rest/stations/nearby?latitude=52.52725&longitude=13.4123'

.. I am recieving this response:

<html>
<head><title>504 Gateway Time-out</title></head>
<body bgcolor="white">
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx/1.10.3 (Ubuntu)</center>
</body>
</html>

Would be glad, if someone could proof this request and confirm that issue. Thanks!

nextlevelshit commented 6 years ago

Same for

curl 'https://2.vbb.transport.rest/locations?query=Alexanderplatz'
derhuerst commented 6 years ago

The API is currently down, because VBB has blocked all nodes.

nextlevelshit commented 6 years ago

Thanks for the info. I am hanging right now in Berlin and looking for some nerd-talks. Coffee :coffee: ?

derhuerst commented 6 years ago

Depends on the type of nerd-talks. What do you have in mind? What is your motivation?

nextlevelshit commented 6 years ago

As a ( more or less) young and ambitous web dev located in Stuttgart I am looking towards making friends and building up partnerships for a worldwide collective of free developers.

  1. I personally like to get to know new people, especially talented and experienced developers¹ with a penchant (dt. Vorliebe thanks to deepl.com) for charity.
  2. Trying to start a discourse with many as possible people to clearify my intentions of a self-determined working live in the tech world. We are all technomorphs (shaped by technology), but developers can experience and engage much more in that process. So let's start talking not only about work, let's talk about a good life as a nerd (One who has an intense, obsessive interest in something, thanks to wiktionary)

And so forth ...

[1] Inversion of that argument is not legit. I also love to talk to less experienced people or total new commers.

derhuerst commented 6 years ago

For how long are you going to be in Berlin?

nextlevelshit commented 6 years ago

Till the 24th and I will move eventually here and looking for a "Zweitwohnsitz".

derhuerst commented 6 years ago

I personally like to get to know new people, especially talented and experienced developers with a penchant (dt. Vorliebe thanks to deepl.com) for charity.

What kind of charity do you have in mind?

nextlevelshit commented 6 years ago

For me it does not matter as long it roots in an honest approach for maximizing the well beeing of a broad part of the society. But you are right. Since I am ponding quiet for a while about the legitimation of that collective, I am sure that it needs a specific goal. And I am talking about rights not priviliges, and what are less "computed" or less computation aided rights (difficult statement sorry)? Public transportation for example, availablility of living and working spaces, access to public health institutions, education, universities, libraries etc.

So my main target, I would call for now, is enhancing the access and availablity of public goods and sources of knowledge.

derhuerst commented 6 years ago

To come back to the issue you reported:

I won't run the public endpoint at 2.vbb.transport.rest for the time being. Maybe VBB and I will find a compromise when we meet next week. Refer to #29 for more details.

If you want to use consume VBB data using JavaScript, use vbb-hafas directly, otherwise host your own vbb-rest instance for now.