Skip to content

Error: Network connection lost. #69

Description

@pierre818181

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions