What versions & operating system are you using?
Wrangler 4.78.0 / Ubuntu 24.04
tailscale 1.96.2
Please provide a link to a minimal reproduction
NA
Describe the Bug
Prior versions of npx wrangler dev (prior to I guess wrangler 4?), local mode at least worked. Now it completely borks on a very common scenario: Ubuntu with tailscale running.
- I installed tailscale but did not run
tailscale serve (ensured tailscale serve --status returns No serve config)
Command:
npx dev --env=dev --remote
(Note without --remote, it works but it's useless because I don't have WAE etc setup for local)
Access: http://localhost:8989/ and the following error/crash occurs:
✘ [ERROR] e = kj/compat/tls.c++:256: failed: TLS peer's certificate is not trusted; reason = Hostname mismatch
stack:
stack:
/home/x/repo/sites/node_modules/@cloudflare/workerd-linux-64/bin/workerd@33d4080
/home/x/repo/sites/node_modules/@cloudflare/workerd-linux-64/bin/workerd@33d4641
/home/x/repo/sites/node_modules/@cloudflare/workerd-linux-64/bin/workerd@5008928
/home/x/repo/sites/node_modules/@cloudflare/workerd-linux-64/bin/workerd@33db620
/home/x/repo/sites/node_modules/@cloudflare/workerd-linux-64/bin/workerd@5034770
/home/x/repo/sites/node_modules/@cloudflare/workerd-linux-64/bin/workerd@5034a20
/home/x/repo/sites/node_modules/@cloudflare/workerd-linux-64/bin/workerd@50178a0
/home/x/repo/sites/node_modules/@cloudflare/workerd-linux-64/bin/workerd@360b8c7
/home/x/repo/sites/node_modules/@cloudflare/workerd-linux-64/bin/workerd@360c809
/home/x/repo/sites/node_modules/@cloudflare/workerd-linux-64/bin/workerd@360fbdb
/home/x/repo/sites/node_modules/@cloudflare/workerd-linux-64/bin/workerd@35eaea0
/home/x/repo/sites/node_modules/@cloudflare/workerd-linux-64/bin/workerd@35f1d40
/home/x/repo/sites/node_modules/@cloudflare/workerd-linux-64/bin/workerd@3608580
/home/x/repo/sites/node_modules/@cloudflare/workerd-linux-64/bin/workerd@1f5f1d0
/home/x/repo/sites/node_modules/@cloudflare/workerd-linux-64/bin/workerd@2df0fa0
/home/x/repo/sites/node_modules/@cloudflare/workerd-linux-64/bin/workerd@2ae6930;
sentryErrorContext = jsgInternalError; wdErrId = qr0ssegff5c96prtr8637oqm
This is a serious regression in the wrangler dev from prior versions. I can't test a simple WAE-related change locally without deploying to test/prod (!)
I realize there is some obscure workaround elsewhere if I search for this TLS error, but none of them work for me, and I should not have to jump through hoops to run a simple dev server.
Astro, other dev servers, 'just work' with tailscale or not.
Please provide any relevant error logs
No response
What versions & operating system are you using?
Wrangler 4.78.0 / Ubuntu 24.04
tailscale 1.96.2
Please provide a link to a minimal reproduction
NA
Describe the Bug
Prior versions of
npx wrangler dev(prior to I guess wrangler 4?), local mode at least worked. Now it completely borks on a very common scenario: Ubuntu with tailscale running.tailscale serve(ensuredtailscale serve --statusreturnsNo serve config)Command:
npx dev --env=dev --remote(Note without --remote, it works but it's useless because I don't have WAE etc setup for local)
Access:
http://localhost:8989/and the following error/crash occurs:This is a serious regression in the
wrangler devfrom prior versions. I can't test a simple WAE-related change locally without deploying to test/prod (!)I realize there is some obscure workaround elsewhere if I search for this TLS error, but none of them work for me, and I should not have to jump through hoops to run a simple dev server.
Astro, other dev servers, 'just work' with tailscale or not.
Please provide any relevant error logs
No response