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

As of 8/31/21 buses show, but all stops/buses say "no predictions" #339

Closed
JarrettBillingsley opened this issue Sep 1, 2021 · 12 comments
Closed

Comments

@JarrettBillingsley
Copy link

It was working Monday, but now it's not, and now I cry.

@JarrettBillingsley
Copy link
Author

I cleared the app data/cache and now the problem is worse - routes no longer appear on the map, just lonely buses floating in a soup of streets. But maybe that's pointing to an underlying problem (route data not available?)

@epicstar
Copy link
Member

epicstar commented Sep 5, 2021

I actually don't see the problem on 8.x of the app... So either the cache mechanism is broken on 7.x or that the route API doesn't support XML anymore. (At least... I think 7.x uses XML while 8.x uses all json). It's been a while. @mikeantonacci is looking into it.

@bbukh
Copy link

bbukh commented Sep 7, 2021

I can confirm the issue in version 7.0.7 of the app (the latest on the Play Store). Where is the version 8.x available from?

@JarrettBillingsley
Copy link
Author

Glad to see it's being looked into! I was worried the app was abandoned. I'm guessing 8.x is your development version?

@mikeantonacci
Copy link
Contributor

mikeantonacci commented Sep 7, 2021 via email

@JarrettBillingsley
Copy link
Author

I got into the 8.x beta and can confirm it's working!

@epicstar
Copy link
Member

epicstar commented Sep 8, 2021

I promoted the beta to production. That'll fix the immediate issue. There are still issues with routes being partially shown. I've already contacted TrueTime and Port Authority for a fix.

@JarrettBillingsley
Copy link
Author

It doesn't help that the past few days the buses seem to be having a lot of trouble with their identification/transponders (it's like a third of the buses say WRONG CODE on the LED display, and don't show up on the map at all)

@shashankov
Copy link

I'm on the beta version (8.0.2) but even as of today I see only buses on the map but no route lines and no predictions as with the OP.

@epicstar
Copy link
Member

epicstar commented Oct 28, 2021

Ok, so the current issue right now is that we have to update the app using the v3 API of TrueTime.

The Sept 8 issue has been already fixed which was that Port Authority sunsetted the XML format of the routes; v8.x.x of the app used TrueTime v2 JSON while 7.x used TrueTime v2 XML (yikes).

A couple weeks (?) after, Port Authority servers went down consistently (Sep 21?), and the fix of the outages unintentionally completely sunseted all of v2 API's routes and predictions. The fix will be to use v3 of the TrueTime API. @mikeantonacci is volunteering his time to update the app to v3. It's not the most straightforward as v2 and v3 are breaking API changes. Note the fast-track change he has to make will not yet put T on the app.

Fortunately, @mikeantonacci's fix will get us to the point where we can probably put the T on given a decent amount of refactoring.

In other words, the problem after the Port Authority instability fix is no longer Port Authority's problem. It's PAT Tracks, or ours. Yes, since the instability fix, we've known the issue for a LONG time. I've communicated the issue on FB but haven't had the chance to respond to all the negative reviews.

I really want to work on other features (like put the T on the app, and other cool BS). However, @mikeantonacci is a one-man crew for now. A CMU Masters program has put me on a 3x a week allnighter schedule until semester end. Apologies.

@epicstar
Copy link
Member

epicstar commented Oct 31, 2021

It's been fixed. Please give all credit to @mikeantonacci.

We're doing a hardcoded version of some fields in v3 of the TrueTime API. When time allows, we'll start developing on all the features of the TrueTime v3 API (#322 ).

the 9.0.0 release candidate is still processing. Once we know the code works as expected, we'll release it to the general public shortly after.

@shashankov
Copy link

Appreciate it! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants