-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support HTTPS_PROXY
, HTTP_PROXY
, and NO_PROXY
#1440
Comments
@cirospaciari is working on this |
…1814) * WIP: http_proxy implemented, first steps for https_proxy #1440 * add HTTP_PROXY support to upgrade_command and WIP: tunneling * WIP async handshake, stuck on WANT_READ, try to defer + check * create and upgrade with proxy working, TLS and non-TLS to proxy TLS working * bun install/upgrade/create working with http(s)_proxy #1440 * add NO_PROXY support #1440 * remove commented code and add TODO * fix getHttpProxy no_proxy * fix formatting * refactor catch and getHttpProxy, fix empty strngs in env for proxy * allow optimization for handleResponseBody
@cirospaciari has shipped this |
For comparison, my proxy works with |
Confirmed not working with proxy at my end. @jylin is that still the issue for you? |
Yea I don't think it works. |
Hi, I am using Bun v1.0.31 on Windows 11 with CMD, Git Bash, and pwsh but seems like all of them can't do Does this feature still not implemented for windows ? Below is my Verbose log[0.00ms] ".env" Request: GET /alpinejs Request: GET /autoprefixer Request: GET /axios Request: GET /laravel-vite-plugin Request: GET /postcss Request: GET /tailwindcss Request: GET /vite Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Request: GET /@tailwindcss%2fforms Request: GET /autoprefixer Request: GET /laravel-vite-plugin Request: GET /axios Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Request: GET /alpinejs Request: GET /postcss Request: GET /tailwindcss Request: GET /vite Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Request: GET /@tailwindcss%2fforms Request: GET /autoprefixer Request: GET /axios Request: GET /laravel-vite-plugin Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Request: GET /postcss Request: GET /alpinejs Request: GET /tailwindcss Request: GET /vite Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Request: GET /autoprefixer Request: GET /laravel-vite-plugin Request: GET /axios Request: GET /@tailwindcss%2fforms Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Request: GET /alpinejs Request: GET /tailwindcss Request: GET /postcss Request: GET /vite Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Request: GET /autoprefixer Request: GET /axios Request: GET /laravel-vite-plugin Request: GET /@tailwindcss%2fforms Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Request: GET /postcss Request: GET /vite Request: GET /alpinejs Request: GET /tailwindcss Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Response: < 200 Connection established Request: GET /laravel-vite-plugin Request: GET /axios Request: GET /autoprefixer Request: GET /@tailwindcss%2fforms Response: < 200 Connection established 🔍 laravel-vite-plugin [41/48] 🔍 @tailwindcss/forms [42/48] 🔍 autoprefixer [43/48] Response: < 200 Connection established 🔍 axios [44/48] Request: GET /postcss Request: GET /tailwindcss Response: < 200 Connection established 🔍 vite [45/48] Response: < 200 Connection established error: Syscall downloading package manifest vite 🔍 tailwindcss [47/48] 🔍 postcss [48/48] warn: Syscall downloading package manifest autoprefixer warn: Syscall downloading package manifest laravel-vite-plugin warn: Syscall downloading package manifest axios warn: Syscall downloading package manifest alpinejs warn: Syscall downloading package manifest postcss warn: Syscall downloading package manifest tailwindcss warn: Syscall downloading package manifest vite warn: Syscall downloading package manifest @tailwindcss/forms warn: Syscall downloading package manifest autoprefixer warn: Syscall downloading package manifest axios warn: Syscall downloading package manifest laravel-vite-plugin warn: Syscall downloading package manifest postcss warn: Syscall downloading package manifest alpinejs warn: Syscall downloading package manifest tailwindcss warn: Syscall downloading package manifest vite warn: Syscall downloading package manifest autoprefixer warn: Syscall downloading package manifest laravel-vite-plugin warn: Syscall downloading package manifest axios warn: Syscall downloading package manifest @tailwindcss/forms warn: Syscall downloading package manifest alpinejs warn: Syscall downloading package manifest tailwindcss warn: Syscall downloading package manifest postcss warn: Syscall downloading package manifest vite warn: Syscall downloading package manifest autoprefixer warn: Syscall downloading package manifest axios warn: Syscall downloading package manifest laravel-vite-plugin warn: Syscall downloading package manifest @tailwindcss/forms warn: Syscall downloading package manifest postcss warn: Syscall downloading package manifest vite warn: Syscall downloading package manifest alpinejs warn: Syscall downloading package manifest tailwindcss warn: Syscall downloading package manifest laravel-vite-plugin warn: Syscall downloading package manifest axios warn: Syscall downloading package manifest autoprefixer warn: Syscall downloading package manifest @tailwindcss/forms warn: Syscall downloading package manifest alpinejs warn: Syscall downloading package manifest vite warn: Syscall downloading package manifest postcss warn: Syscall downloading package manifest tailwindcss |
same here on macOS, with |
@cirospaciari @Jarred-Sumner any update on this? |
@Electroid , @cirospaciari please reopen this, still not working |
@seyfu-t can you open a new issue that includes a reproduction? HTTP_PROXY and HTTPS_PROXY do work and have unit tests to verify this, so we're going to need to see more specifically what's not working in order to fix it |
Developers sometimes need to configure a proxy when using Bun.
bun upgrade
does not appear to use HTTPS_ PROXY? #49While Node.js has decided not to support this, these variables have been adopted by
curl
,wget
, Ruby, Python, Go, etc. There is a comprehensive blog post by Gitlab that explains how each of these variables should work.The text was updated successfully, but these errors were encountered: