Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Investigate log messages relating to bikeshare locations #185

Open
ddohler opened this issue Feb 18, 2021 · 0 comments
Open

Investigate log messages relating to bikeshare locations #185

ddohler opened this issue Feb 18, 2021 · 0 comments

Comments

@ddohler
Copy link
Contributor

ddohler commented Feb 18, 2021

We received a usage notification early this morning warning that we were close to hitting our log quota for this project. I took a look at the dashboard and there was a big spike in volume the past two days from the OTP server. We haven't deployed during this time.

Investigating the logs for that server, I saw lots of messages of the form authbind message repeated 24 times: [ 13:58:37.349 WARN (BikeRentalUpdater.java:171) Bike rental station at 0.000000, 0.000000 not near any streets; it will not be usable.]

What this looks like to me is that the bikeshare API has recently started returning bad location data for one or more locations. However, I wasn't able to confirm that because the only API endpoint that I know of for bikeshare locations seems to work fine: https://kiosks.bicycletransit.workers.dev/phl -- I was able to drop the GeoJSON into geojson.io and confirmed that all the locations had non-zero data.

So I'm not exactly sure what's going on, but I checked that routing using bikeshare locations still seems to work, meaning that there doesn't appear to be any immediate impact on site functionality.

I added a filtering rule to drop logs matching the warning for the time being.

We should:

  • Investigate BikeRentalUpdater.java to figure out what URL it's pulling from and confirm whether that URL is functioning properly.
  • Take appropriate action based on the results of the investigation (either notify the API operators or make any local changes necessary to resolve the issue).
  • Potentially remove the filter rule so that we get warned about this type of thing in the future.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant