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
let bucket = ctx.bucket("FOO")?;console_log!("before");let res = bucket.put("bar",vec![1,2,3,4]).execute().await?;console_log!("after");
The above code works as expected in production, but bucket.put() hangs indefinitely when in dev mode (npx wrangler dev). However, listing all keys of the bucket prints ["bar"]. Accessing the object's body errors. When I inspect the bucket in the CF dashboard it doesn't show bar.
let objs = bucket.list().execute().await?;console_log!("{:?}", objs.objects().into_iter().map(|o| o.key()).collect::<Vec<_>>());
Again, everything works as expected in production.
Steps To Reproduce
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
What version of
workers-rs
are you using?0.0.18
What version of
wrangler
are you using?3.5.1
Describe the bug
My worker writes to an R2 bucket.
The above code works as expected in production, but
bucket.put()
hangs indefinitely when in dev mode (npx wrangler dev
). However, listing all keys of the bucket prints["bar"]
. Accessing the object's body errors. When I inspect the bucket in the CF dashboard it doesn't showbar
.Again, everything works as expected in production.
Steps To Reproduce
No response
The text was updated successfully, but these errors were encountered: