Skip to content

"Shutting down remote connection" never completes with a R2 remote binding #11254

@vicb

Description

@vicb

What versions & operating system are you using?

wrangler 4.47.0
MacOS

Please provide a link to a minimal reproduction

https://github.com/vicb/r2-remote-binding

Describe the Bug

With the repro, pointing the config file to an existing R2 bucket

  1. execute wrangler dev
  2. Press Ctrl+C to end the dev session
  3. ⎔ Shutting down remote connection... never terminates (you have to press Ctrl+C again to exit)

Please provide any relevant error logs

-> % pnpm wrangler dev

 ⛅️ wrangler 4.47.0
───────────────────
Your Worker has access to the following bindings:
Binding                Resource       Mode
env.R2 (r2-batch)      R2 Bucket      remote

╭──────────────────────────────────────────────────────────────────────╮
│  [b] open a browser [d] open devtools [c] clear console [x] to exit  │
╰──────────────────────────────────────────────────────────────────────╯
⎔ Starting local server...
[wrangler:info] Ready on http://localhost:8787
⎔ Shutting down local server...
⎔ Shutting down remote connection...

Metadata

Metadata

Type

No fields configured for Bug.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions