Hello,
I am working to set up One Bus Away + TransitClock + Traccar.
I already have Traccar + TransitClock working.
However, One Bus Away only functions with Scheduled Time; Real Time is not operational yet.
I am using the Docker Project of OBA.
I have looked into the logs inside the OBA container at /var/log/tomcat8. I noticed the following errors in the log transit-data-federation-webapp.log:
2024-05-02T21:07:49,042 ERROR [BundleManagementServiceImpl.java:307] : data error: getBundleMetadata is null
2024-05-02T21:08:10,497 ERROR [GtfsRealtimeSource.java:632] : null block green-10 for agencies [1], bailing...
2024-05-02T21:08:10,497 ERROR [GtfsRealtimeSource.java:632] : null block red-10 for agencies [1], bailing...
2024-05-02T21:08:10,497 ERROR [GtfsRealtimeSource.java:632] : null block blue-10 for agencies [1], bailing...
2024-05-02T21:08:10,498 ERROR [GtfsRealtimeSource.java:632] : null block orange-10 for agencies [1], bailing...
2024-05-02T21:08:10,501 INFO [ExternalServicesNoopImpl.java:38] : publishMetric({test:Matched}, {feed=[1]}, {0.0})
2024-05-02T21:08:10,501 INFO [ExternalServicesNoopImpl.java:38] : publishMetric({test:Added}, {feed=[1]}, {0.0})
2024-05-02T21:08:10,501 INFO [ExternalServicesNoopImpl.java:38] : publishMetric({test:Duplicated}, {feed=[1]}, {0.0})
2024-05-02T21:08:10,501 INFO [ExternalServicesNoopImpl.java:38] : publishMetric({test:Canceled}, {feed=[1]}, {0.0})
2024-05-02T21:08:10,502 INFO [ExternalServicesNoopImpl.java:38] : publishMetric({test:Unmatched}, {feed=[1]}, {4.0})
2024-05-02T21:08:10,502 INFO [ExternalServicesNoopImpl.java:38] : publishMetric({test:Total}, {feed=[1]}, {4.0})
2024-05-02T21:08:10,508 INFO [GtfsRealtimeSource.java:716] : Agency [1] has active vehicles=0, matched=0 (4), added=0, duplicated=0, cancelled=0 for updates=4 with most recent timestamp Thu Jan 01 00:00:00 UTC 1970
2024-05-02T21:08:20,022 INFO [ServiceAlertsServiceImpl.java:547] : updateReferences complete with 0 agency alerts, 0 route and stop alerts, 0 route alerts, and 0 distinct alerts
2024-05-02T21:08:40,352 ERROR [GtfsRealtimeSource.java:632] : null block green-10 for agencies [1], bailing...
2024-05-02T21:08:40,355 ERROR [GtfsRealtimeSource.java:632] : null block red-10 for agencies [1], bailing...
2024-05-02T21:08:40,355 ERROR [GtfsRealtimeSource.java:632] : null block blue-10 for agencies [1], bailing...
2024-05-02T21:08:40,355 ERROR [GtfsRealtimeSource.java:632] : null block orange-10 for agencies [1], bailing...
2024-05-02T21:08:40,358 INFO [GtfsRealtimeSource.java:716] : Agency [1] has active vehicles=0, matched=0 (4), added=0, duplicated=0, cancelled=0 for updates=4 with most recent timestamp Thu Jan 01 00:00:00 UTC 1970
2024-05-02T21:09:10,346 ERROR [GtfsRealtimeSource.java:632] : null block green-10 for agencies [1], bailing...
2024-05-02T21:09:10,349 ERROR [GtfsRealtimeSource.java:632] : null block red-10 for agencies [1], bailing...
2024-05-02T21:09:10,349 ERROR [GtfsRealtimeSource.java:632] : null block blue-10 for agencies [1], bailing...
2024-05-02T21:09:10,350 ERROR [GtfsRealtimeSource.java:632] : null block orange-10 for agencies [1], bailing...
2024-05-02T21:09:10,354 INFO [GtfsRealtimeSource.java:716] : Agency [1] has active vehicles=0, matched=0 (4), added=0, duplicated=0, cancelled=0 for updates=4 with most recent timestamp Thu Jan 01 00:00:00 UTC 1970There is a recurring error: "null block green-10 for agencies [1], bailing..."
There seems to be a problem related to the GTFS-rt coming from TransitClock.
Here are both URLs:
-
http://143.198.13.244:8080/api/v1/key/f78a2e9a/agency/1/command/gtfs-rt/tripUpdates-
http://143.198.13.244:8080/api/v1/key/f78a2e9a/agency/1/command/gtfs-rt/tripUpdatesI omitted the parameter "format=human" for the docker-compose.yml file of OBA.
I have examined the file that raised the error, and there is a validation of the .block attribute, but that attribute is not defined in the GTFS-rt.
![Screenshot 2024-05-02 at 4.36.26 PM.png](https://groups.google.com/group/onebusaway-developers/attach/6a6d722bc4621/Screenshot%202024-05-02%20at%204.36.26%E2%80%AFPM.png?part=0.1&view=1)
Does anyone have a clue what is going on and how to fix this?
Thanks.