grote / Transportr

Free Public Transport Assistant without Ads or Tracking
https://transportr.app
GNU General Public License v3.0
1.04k stars 187 forks source link

Remove broken Navitia endpoints #877

Closed ialokim closed 10 months ago

ialokim commented 1 year ago

Unfortunately, Navitia removed several regions from their servers. We should remove them from Transportr too.

  1. check all endpoints that are currently served by Navitia (inheriting the NavitiaProvider.java in PTE)
  2. list them here in the issue
  3. remove the dis-functional ones in a PR
ialokim commented 11 months ago

Here's a list of all providers based on Navitia from PTE, marked with if they are still served by navitia.io. The list was recompiled from the PTE sources and compared to the response returned by https://api.navitia.io/v1/coverage (valid API token needed).

AbstractNavitiaProvider coverage still working
AustraliaProvider au :white_check_mark:
BrFloripaProvider :x:
BrazilProvider br :x:
BritishColumbiaProvider ca-bc :x:
CaliforniaProvider us-ca :x:
CostaRicaProvider :x:
CzechRepublicProvider cz :x:
FinlandProvider fi :x:
FranceNorthEastProvider fr-ne :white_check_mark:
FranceNorthWestProvider fr-nw :white_check_mark:
FranceSouthEastProvider fr-se :white_check_mark:
FranceSouthWestProvider fr-sw :white_check_mark:
GhanaProvider gh :x:
HungaryProvider hu :x:
IsraelProvider il :x:
ItalyProvider it :white_check_mark:
MassachusettsProvider us-ma :x:
NewyorkProvider us-ny :x:
NicaraguaProvider ni :x:
NzProvider nz :x:
OntarioProvider ca-on :x:
OregonProvider us-or :x:
ParisProvider fr-idf :white_check_mark:
PlNavitiaProvider pl :x:
PortugalProvider pt :x:
QuebecProvider ca-qc :x:
SpainProvider es :white_check_mark:
WashingtonDCProvider us-dc :x:

¹= The Costa Rica region was apparently served by http://98.158.179.5:9191/ which is not reachable anymore either

²= br-floripa was served by https://api.transportr.app/floripa/v1/ which shows 500 Internal Server Error

As you can see, most of the listed providers are unfortunately not served anymore by Navitia and should be removed from Transportr in the next version.

ialokim commented 11 months ago

br-floripa was served by https://api.transportr.app/floripa/v1/ which shows 500 Internal Server Error, should we remove it from Transportr @grote ?

grote commented 11 months ago

Yes please.

ialokim commented 10 months ago

Fixed with #884