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
}
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?
1 Reply
jared
jaredOP5mo ago
The issue is that the data are actually successfully retrieved from KV, D1, and/or Supabase and I have no idea of when and why the exception happens.
Want results from more Discord servers?
Add your server