-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Flutter should respect proxy settings on Windows during Dart SDK download #10903
Comments
@goderbauer might know. Looks like it's not using your network proxy correctly? |
If your proxy requires manual configuration, we currently offer no way to do that for the initial download of the Dart SDK. We should probably do what If you are feeling adventures: This is the line where we use Windows's |
I add -ProxyUsage Override -ProxyList 192.168.0.118:1080 to: |
We also need to get over a proxy and it has BASIC authentication. so I added this codes for resolve problem at update_dart_sdk.ps1 and it works fine
|
@jAwAno would you be willing to send us a pull request with that change? |
@goderbauer Hang on. That change might break a lot of other users' setup. Start-BitsTransfer is supposed to honor the Windows system proxy settings, right? |
This would only change things for users, that have $env:http_proxy set explicitly, no? |
…y info from that and use (flutter#10903) If windows machine behind a proxy and already has environment variable "http_proxy" as below format http://username:pass@proxyHost:port then use those information for get over proxy when running flutter doctor.
@goderbauer |
@goderbauer True, but I'm one of those users who has http_proxy set, for very specific purposes. And a lot of times, clients would fail to use that because our proxy requires NTLM authentication. I still believe that since One guess is that Let's not be hasty about this. Understand the cause before trying to fix it. |
@jAwAno Please confirm whether your Windows proxy settings are populated correctly. |
@igitur Ok I'll check my setting again , and actually you're right fixing authentication method to BASIC is bad way . hm I'll find some other way |
This Worked For Me:
|
This is still an issue in December 2019. |
While the code above is good, as @jAwAno said, authentication could be a problem. I'm using CNTLM to forward NTLM proxy to HTTP proxy and use it for |
I met errors when running flutter doctor. It's related with proxy settings.
Flutter Doctor
The text was updated successfully, but these errors were encountered: