oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.35k stars 2.78k forks source link

network requests didn't work under cloudflare warp #11136

Open vanodevium opened 6 months ago

vanodevium commented 6 months ago

What version of Bun is running?

1.1.8

What platform is your computer?

Linux 6.5.0-28-generic x86_64 x86_64

What steps can reproduce the bug?

Install cloudflare warp

Then

sudo warp-cli register
sudo warp-cli connect

Then even bun install or any network actions will not work.

If you disable warp (sudo warp-cli disconnect), bun network actions work perfect.

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

billymosis commented 6 months ago

Hi, I'm also experienced this. I'm on bun v1.1.10

Jarred-Sumner commented 5 months ago

Can you try this in Bun v1.1.12?

billymosis commented 5 months ago

Can you try this in Bun v1.1.12?

Still unable for me, only when warp-cli connected

$ bun add is-odd --verbose
bun add v1.1.12 (43f0913c)
Loaded 118 hoisted_dependencies
Loaded 233 resolutions
Loaded 233 dependencies
Loaded 4 extern_strings
Loaded 10381 string_bytes
Enqueue package manifest for download: is-odd
  🔍 Resolving [1/1] [PackageManager] waiting for 1 tasks
  🔍 Resolving [1/1] [PackageManager] waiting for 1 tasks
  🔍 Resolving [1/1] [PackageManager] waiting for 1 tasks
  🔍 Resolving [1/1] [PackageManager] waiting for 1 tasks
[PackageManager] waiting for 1 tasks
  🔍 Resolving [1/1] [PackageManager] waiting for 1 tasks
  🔍 Resolving [1/1] [PackageManager] waiting for 1 tasks
  🔍 Resolving [1/1] [PackageManager] waiting for 1 tasks
  🔍 Resolving [1/1] [PackageManager] waiting for 1 tasks
[PackageManager] waiting for 1 tasks
  🔍 Resolving [1/1] [PackageManager] waiting for 1 tasks
  🔍 Resolving [1/1] ^C
darwinx64 commented 4 months ago

If it helps, this also happens under Windows

image

adeyemialameen04 commented 3 months ago

Anyone fixed it yet?

AgungBahtiarr commented 3 months ago

Im facing this issue too, im using fedora 40 and bun 1.1.24

farishan commented 2 months ago

image

I'm facing this issue too, 1.1.27. Fresh init with bun init, ctrl + c, bun install --verbose

vanodevium commented 2 months ago

@Jarred-Sumner

imho, this problem is more global, not about warp only