For Workes & Pages, what is the name of the domain?
Secure and private endpoint, I cannot share this.
What is the error number?
D1_ERROR: Network connection lost.
What is the error message?
D1_ERROR: Network connection lost.
What is the issue or error you’re encountering
Today I have widespread issue with my worker that are timing out. They were working fine yesterday.
What steps have you taken to resolve the issue?
I try to redeploy the worker, I did not had any error but it did not solve the issue. The realtime stream of log timeout, I do not have any error but I almost have no data. When one log manage to show up, I have various error related to my KV or my D1 call like : “D1_ERROR: Network connection lost.”. The service is overall massively degraded on many of my worker that worker just fine yesterday.
What are the steps to reproduce the issue?
I have postman unit test for all my endpoint, they all started to crash but were working fine yesterday.
Thank you for reaching out to us. We typically see Network Connection Lost when the origin server disconnects, rather than the client. Usually, when the client disconnects, the worker is canceled entirely and no more code executes. When the origin server disconnects, the exception could be thrown by fetch() , or could be thrown by response.text() or other methods that read the response body. Are you still experiencing issues now?
I am having this same issue since this morning. In addition I can’t load my database in the D1 dashboard. When i get a response from my api after about 10 seconds, it errors and in the logs I see “Error: D1_ERROR: Network connection lost.”. Everything was working fine yesterday and I haven’t updated anything since. I have multiple D1 databases which are all fine and not having any issues, it is just one in particular that this is happening with.
@cherryjimbo Yes its happening consistently almost 90% of the requests. For some requests I am getting above error and for some requests I get response after a very long time.
Here is my D1 database id: 3320cfa1-295a-4c44-9238-96f0d8ea5b75