-
Notifications
You must be signed in to change notification settings - Fork 122
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
Using pik.0.3.0..pre.msi and getting Access to the Web Proxy filter is denied #108
Comments
The downloader code is an extension of open-uri. Open-uri doesn't support password authentication, so I'll have to think on this one a bit. http://redmine.ruby-lang.org/issues/show/435 As far as not being able to switch rubies, did you run 'pik refresh' after upgrading? |
nevermind, the code is in there. I just needed to read it. I think you need to set an HTTP_PROXY env variable like this:
Let me know if that works. If not, we'll dig deeper. |
Thanks for the quick reply, I was able to move back to the previous version Regarding Open uri, I know I got gem working behind the proxy using On Tue, Mar 15, 2011 at 5:38 PM, vertiginous <
|
Due to our domain (Windows) and password requirements, this format cannot be used - even if I URL encode the \ required to delimit the domain name from user id. Also, we have password constraints requiring use of numbers and special chars. I tried URL encoding, it did not work. Without URL encoding, did not work. OT: The PIK installer upgrade still not working: 1 uninstall pik 2.x from current ruby Session:C:\Windows\System32>pik list C:\Windows\System32>pik use ruby-1.9.2-p180 C:\Windows\System32>pik list C:\Windows\System32>ruby -v FYI - I used http://rubyinstaller.org/ to install initial 1.8 and needed it for 1.9 due to proxy issues... but in pik 1.2 I was able to switch back and forth. Thanks |
I had HTTP_PROXY with proper
I got:
Then I've tried cntlm as proxy in the middle between pik and corporate proxy. |
First, except for my various issues with the corporate proxy (over which I have next to zero control) I am grateful for Pik when I have it working.
NOTE: after running the msi on top of my prior install (my bad) I cannot switch rubies. So I am trying to get back to where I can switch them. After that I really want to see if I can use Pik to install JRuby... but first things first. The issue....
The scenario - use the msi to install Jruby. I am using the msi because another issue here said that was the fix for the "gsub"private method issue using "normal"pre0.3.0 Pik.
D:>pik install jruby
ERROR: You need the 7zip utility to extract this file.
Run 'pik package 7zip install'
D:>pik package 7zip install
INFO: Downloading: http://downloads.sourceforge.net/sevenzip/7za920.zip
to: C:\Documents and Settings\fergjo00.pik\downloads\7za920.zip
There was an error.
Error: Failed to download http://downloads.sourceforge.net/sevenzip/7za920.zip: Proxy Authentication Required ( The ISA
Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
in: pik/contrib/uri_ext.rb:277:in
read' in: net/http.rb:1054:in
request'in: net/http.rb:2144:in
reading_body' in: net/http.rb:1053:in
request'in: net/http.rb:1037:in
request' in: net/http.rb:543:in
start'in: net/http.rb:1035:in
request' in: pik/contrib/uri_ext.rb:245:in
read'in: pik/contrib/uri_ext.rb:293:in
connect' in: pik/contrib/uri_ext.rb:240:in
read'in: pik/contrib/uri_ext.rb:120:in
download' in: tempfile.rb:188:in
open'in: pik/contrib/uri_ext.rb:118:in
download' in: pik/contrib/uri_ext.rb:60:in
download'in: pik/installer.rb:19:in
download' in: pik/commands/package_command.rb:56:in
sevenzip'in: pik/commands/package_command.rb:14:in `execute'
in: pik_runner:27
D:>
The text was updated successfully, but these errors were encountered: