Error when specifying proxy

Discussion in 'Ruby' started by Behrang Saeedzadeh, Mar 6, 2007.

  1. Hi,

    When I set the HTTP_PROXY env var to
    user:pass@http://proxy.monash.edu.au:8080 and run gem to install
    Rials, I get the following error:

    C:\Documents and Settings\Behrang>gem install rails --remote
    ERROR: While executing gem ... (URI::InvalidURIError)
    can not set user with registry or opaque

    Any ideas what is probably causing the error and how can I fix it?
    (The environment is Win XP)

    Regards,
    Behi

    --
    "Science is a differential equation. Religion is a boundary condition"
    - Alan Turing

    Behrang Saeedzadeh
    http://www.jroller.com/page/behrangsa
    http://my.opera.com/behrangsa
    Behrang Saeedzadeh, Mar 6, 2007
    #1
    1. Advertising

  2. Behrang Saeedzadeh wrote:
    > Hi,
    >
    > When I set the HTTP_PROXY env var to
    > user:pass@http://proxy.monash.edu.au:8080 and run gem to install
    > Rials, I get the following error:
    >
    > C:\Documents and Settings\Behrang>gem install rails --remote
    > ERROR: While executing gem ... (URI::InvalidURIError)
    > can not set user with registry or opaque
    >
    > Any ideas what is probably causing the error and how can I fix it?
    > (The environment is Win XP)


    It should be

    http://user::8080

    if I remember correctly

    You can also set this up in your .gemrc-file
    Stefan Mahlitz, Mar 6, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. vidy5300
    Replies:
    0
    Views:
    803
    vidy5300
    Jun 7, 2004
  2. Replies:
    0
    Views:
    1,627
  3. Karsten Wutzke
    Replies:
    1
    Views:
    866
    Steven Simpson
    Aug 20, 2007
  4. Klein Stéphane
    Replies:
    3
    Views:
    575
    Steve Holden
    Dec 20, 2009
  5. Alejandro Molina

    Proxy and non Proxy configurations

    Alejandro Molina, Jul 15, 2004, in forum: ASP .Net Security
    Replies:
    0
    Views:
    133
    Alejandro Molina
    Jul 15, 2004
Loading...

Share This Page