Occasional Connection Reset


#1

Hi, we have a system that consumes the real-time vehicle position and trip update feeds every 15 seconds and have noticed the rare occasional “connection reset” from the Open Data server. It happens very rarely (less than 0.5% of the API calls), but just wondering if this is expected/normal, a known issue or otherwise. Thanks.


#2

Hi @hkotfnsw, we’re currently investigating this, do you have any more details on the error you get? Does it just say connection reset or do you get a more meaningful error message?

Thanks,
Alex


#3

Thanks @alejandro.felman. For buses, the last two times when connection-reset errors happened are shown below. These are my server logs:

{“code”:“ECONNRESET”,“level”:“error”,“timestamp”:“2017-03-01T13:25:46+11:00”}
{“level”:“error”,“message”:"{“error”:“ECONNRESET”,“status”:"",“response”:""}",“timestamp”:“2017-03-01T13:25:46+11:00”}

{“code”:“ECONNRESET”,“level”:“error”,“timestamp”:“2017-03-07T13:18:16+11:00”}
{“level”:“error”,“message”:"{“error”:“ECONNRESET”,“status”:"",“response”:""}",“timestamp”:“2017-03-07T13:18:16+11:00”}

Both happened when calling the trip update bus real-time feed.


#4

Thanks for the extra info, we’ll investigate further.


#5

Hi @alejandro.felman, encountered a couple of more connection reset issues in the last couple of days, logging it here if it helps…

  • 2017-03-15T23:00:49
  • 2017-03-14T13:46:00
  • 2017-03-14T13:54:40
  • 2017-03-14T14:04:40
  • 2017-03-14T15:06:40

Also, it appears the connection reset happens at the feed (URL) level, is that right? Can it happen at the API-key level and account level? Just so that I can understand how it works. Thanks.


#6

@hkotfnsw we haven’t found any connection issues from our end.

Anyone else out there encountered the same issue or can assist us by looking at logs at those times?