Intermittent `Network connection lost.` exceptions

We’re getting intermittent
Network connection lost
exceptions on our prod worker (on paid plan). Yes, it doesn’t always happen. We’re using Baselime to monitor the worker performance. In Baselime logs, the response status is
200
but with this exception:

exception:
{
  Name: "Error",...
  Message: "Network connection lost.",...
  TimestampMs: 1722181203897
}

This only happens on our
GET
endpoints which return data from KV, D1, and/or Supabase (can be one source or combination). Does anyone know why it is happening and how to fix it?
Was this page helpful?