cloudflare / cloudflare/serverless-registry

Error: Network connection lost.

Open
#69 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.5k
Forks
122
PR merge metrics
No merged PRs in 30d

Description

I get this error once all the PATCH requests are done and the finishUpload is called. I can consistently reproduce this at the same stage during push.

Is this something to do with my Cloudflare plan?

Stack:

```
error error Error: Network connection lost.: undefined: Error: Network connection lost.
at async R2Registry.finishUpload (index.js:6416:7)
at async index.js:5246:22
at async fetch (index.js:13:27)
at async Object.fetch (index.js:13:27)
at async Object.fetch (index.js:6482:19)
```

This is the object that is there when it errors:

```
obj {"storageClass":"Standard","range":{"offset":0,"length":6134971208},"customMetadata":{},"httpMetadata":{},"uploaded":"2024-10-21T21:43:08.398Z","checksums":{},"httpEtag":"\"3cc9dd57fa02f8e14c383472bfabc35a-62\"","etag":"3cc9dd57fa02f8e14c383472bfabc35a-62","size":6134971208,"version":"7e6d4efe355af1ee966e8cd0f43699e2","key":"7e97b421-1689-4691-83c0-aeef01faf2b4"}
```

Is it because the size is too big?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.