You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--- 2024-09-06T04:57:07.553Z debug
🪵 Writing logs to "/home/******/.config/.wrangler/logs/wrangler-2024-09-06_04-57-07_378.log"
---
--- 2024-09-06T04:57:07.553Z debug
Failed to load .env file ".env": Error: ENOENT: no such file or directory, open '.env'
at Object.openSync (node:fs:573:18)
at NodeFS.openSync (/home/******/mc-backup-tool/.pnp.cjs:3559:24)
at makeCallSync.subPath.subPath (/home/******/mc-backup-tool/.pnp.cjs:4035:26)
at ZipOpenFS.makeCallSync (/home/******/mc-backup-tool/.pnp.cjs:4687:14)
at ZipOpenFS.openSync (/home/******/mc-backup-tool/.pnp.cjs:4034:17)
at VirtualFS.openSync (/home/******/mc-backup-tool/.pnp.cjs:3292:24)
at PosixFS.openSync (/home/******/mc-backup-tool/.pnp.cjs:3292:24)
at NodePathFS.openSync (/home/******/mc-backup-tool/.pnp.cjs:3292:24)
at Object.readFileSync (node:fs:452:35)
at NodeFS.readFileSync (/home/******/mc-backup-tool/.pnp.cjs:3872:24) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '.env'
}
---
--- 2024-09-06T04:57:07.562Z log
⛅️ wrangler 3.74.0
�[38;5;214m-------------------�[39m
---
--- 2024-09-06T04:57:07.563Z debug
No experimental flag store instantiated
---
--- 2024-09-06T04:57:07.563Z debug
Attempted to use flag "JSON_CONFIG_FILE" which has not been instantiated
---
--- 2024-09-06T04:57:07.568Z log
Creating object "hoge.txt" in bucket "sample-st".
---
--- 2024-09-06T04:57:07.874Z log
---
--- 2024-09-06T04:57:08.037Z error
�[31m✘ �[41;31m[�[41;97mERROR�[41;31m]�[0m �[1mfetch failed�[0m
---
--- 2024-09-06T04:57:08.038Z log
�[32mIf you think this is a bug then please create an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose�[0m
---
--- 2024-09-06T04:57:09.720Z debug
Sentry: Capturing exception TypeError: fetch failed
---
(log, using --pipe)
--- 2024-09-06T04:46:14.119Z debug
🪵 Writing logs to "/home/******/.config/.wrangler/logs/wrangler-2024-09-06_04-46-13_946.log"
---
--- 2024-09-06T04:46:14.119Z debug
Failed to load .env file ".env": Error: ENOENT: no such file or directory, open '.env'
at Object.openSync (node:fs:573:18)
at NodeFS.openSync (/home/******/mc-backup-tool/.pnp.cjs:3559:24)
at makeCallSync.subPath.subPath (/home/******/mc-backup-tool/.pnp.cjs:4035:26)
at ZipOpenFS.makeCallSync (/home/******/mc-backup-tool/.pnp.cjs:4687:14)
at ZipOpenFS.openSync (/home/******/mc-backup-tool/.pnp.cjs:4034:17)
at VirtualFS.openSync (/home/******/mc-backup-tool/.pnp.cjs:3292:24)
at PosixFS.openSync (/home/******/mc-backup-tool/.pnp.cjs:3292:24)
at NodePathFS.openSync (/home/******/mc-backup-tool/.pnp.cjs:3292:24)
at Object.readFileSync (node:fs:452:35)
at NodeFS.readFileSync (/home/******/mc-backup-tool/.pnp.cjs:3872:24) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '.env'
}
---
--- 2024-09-06T04:46:14.132Z log
⛅️ wrangler 3.74.0
�[38;5;214m-------------------�[39m
---
--- 2024-09-06T04:46:14.133Z debug
No experimental flag store instantiated
---
--- 2024-09-06T04:46:14.133Z debug
Attempted to use flag "JSON_CONFIG_FILE" which has not been instantiated
---
--- 2024-09-06T04:46:14.138Z log
Creating object "backup.sh" in bucket "sample-st".
---
--- 2024-09-06T04:46:15.650Z log
Upload complete.
---
The text was updated successfully, but these errors were encountered:
/workspaces/uni-saas/node_modules/wrangler/wrangler-dist/cli.js:29768
throw a;
^
Error [AssertionError]: false == true
at new AssertionError (node-internal:internal_assertionerror:427:15)
at assert (node-internal:internal_assert:49:15)
at Native (file:///workspaces/uni-saas/node_modules/wrangler/node_modules/miniflare/src/workers/core/proxy.worker.ts:141:4)
at hydrate (file:///workspaces/uni-saas/node_modules/wrangler/node_modules/.pnpm/[email protected]/node_modules/devalue/src/parse.js:60:32)
at unflatten (file:///workspaces/uni-saas/node_modules/wrangler/node_modules/.pnpm/[email protected]/node_modules/devalue/src/parse.js:132:9)
at parse (file:///workspaces/uni-saas/node_modules/wrangler/node_modules/.pnpm/[email protected]/node_modules/devalue/src/parse.js:16:9)
at #fetch (file:///workspaces/uni-saas/node_modules/wrangler/node_modules/miniflare/src/workers/core/proxy.worker.ts:220:43)
at ProxyServer.fetch (file:///workspaces/uni-saas/node_modules/wrangler/node_modules/miniflare/src/workers/core/proxy.worker.ts:164:22) {
[cause]: undefined
}
Node.js v20.16.0
error: script "dev" exited with code 7
i cant even do multi part upload locally, looks like some issue locally
Thanks for reporting this issue! I tried to reproduce the problem on my end, but it seems to be working fine. Could you please try running the command again with WRANGLER_LOG="debug" set in your environment? This will provide more detailed logs that might help us troubleshoot the issue further.
Let me know if you notice anything unusual in the debug output.
Which Cloudflare product(s) does this pertain to?
R2
What version(s) of the tool(s) are you using?
3.74.0
What version of Node are you using?
v20.17.0
What operating system and version are you using?
Debian 12
Describe the Bug
Observed behavior
r2 object put
is failure, cause errorfetch failed
.The file is not uploaded to bucket.
Expected behavior
Upload to my bucket
Steps to reproduce
yarn wrangler r2 object put some-bucket/somefile.txt --file=somefile.txt
Appendix
Instead of using
--pipe
, upload is complete.Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
(shell)
(log)
(log, using
--pipe
)The text was updated successfully, but these errors were encountered: