Comments (7)
@MikeMcQuaid - I think the issue may be in 6135da8 but I'm a little lost in trying to bisect to the error. Let me know if we can provide any help in testing or trying to provide a fix.
The way our proxy works, we set a username and password in the proxy url. I'm wondering if the code here
brew/Library/Homebrew/cmd/gist-logs.rb
Lines 122 to 133 in 6135da8
from brew.
The way our proxy works, we set a username and password in the proxy url.
It sounds like this may be interfering. Homebrew's proxy support is not great and I'm sorry that this behaviour (which makes things better for non-proxy users) has made things worse for you. It's pretty much impossible for me to create a fix without your proxy to test. Could you try and open a pull request? This document should help and I'm happy to walk you through anything else.
Thanks!
from brew.
Thanks Mike, I'm pretty sure this is going to be biting a few people so I'll take a look at it this week if I get some time.
from brew.
Okay, two ideas.
- Don't try to login if there are no GitHub credentials stored on the system, instead just fall back to non-authenticated connection. This seems the easiest to me and to be the most correct solution.
- Check for the presence of the HTTPS_PROXY environment variable. If it's been set and is of the form prot://user:password@URL, then don't try to use Ruby basic authentication, since I believe this interferes with the basic authentication to the proxy.
I think [2] might work but that [1] is better for everybody involved. Let me know if you have any ideas on this, otherwise I'll a little bit deeper into [1].
from brew.
@ahmadia I'd be surprised if 1) isn't already the case. 2) sounds like a reasonable compromise, though.
from brew.
+1 as i just tried to upgrade to use brew 0.9.9 and ran into a couple issues because im behind a proxy server. First, I kept getting this error:
Error: Non-HTTP proxy URI: https://myun:[email protected]
Then found a workaround by setting https_proxy=$http_proxy
which leads me to the Error: 407 "Proxy Authentication Required
I reverted back to the homebrew-legacy
github project, which is working fine
from brew.
@britztopher Could you file a separate bug report? The homebrew-legacy
github project will not receive any more formula updates.
from brew.
Related Issues (20)
- `brew tests` should pass with `homebrew/core` untapped HOT 4
- Remove `FormulaTextAuditor`. HOT 3
- Documentation is replaced by auto-generated RBI comments. HOT 6
- sha256 :no_check broken from April 25 commit HOT 5
- Some packages may send user data to China HOT 8
- Addition of cmake flag FETCHCONTENT_FULLY_DISCONNECTED=ON breaks formulas HOT 4
- `brew --repo homebrew/core` prints `/opt/homebrew` not `/opt/homebrew/Library/Taps/homebrew/homebrew-core` HOT 1
- psql Library not loaded: /usr/local/lib/libpq.5.dylib HOT 11
- `brew leaves --installed-as-dependency` blows up with a stack trace HOT 4
- test resources is not found by brew HOT 8
- Nushell support HOT 6
- Brew link fails intermittently on MacOS Sonoma HOT 6
- Casks can fail to load when source file path is nil HOT 5
- `brew cleanup` breaks ruby gems downloaded by bundler from git source HOT 2
- Add `test` tag support for `resource`s HOT 1
- docs.brew.sh/Manpage does not wrap text properly on mobile HOT 3
- `brew migrate` doesn't recognise migrations to API taps HOT 3
- Verbose option stopped working (`-v` shows version, `--verbose` unknown command) HOT 3
- Allow casks to opt-in to forcibly quit during `brew upgrade` HOT 9
- Imposible update using WIFI HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brew.