Hello!
I am trying to get slap-get to update a machine i have at work. It's behind a proxy. My problem is with the authentication. The username is in the form of user@name:passwd. I tried to escape the @ (\@) but no good. Can you help me.
Thanks Guys!
Proxy authentication error
Re: Proxy authentication error
How do you specify the proxy? Did you read this? http://software.jaos.org/git/slapt-get/ ... l#slgFAQ24
Re: Proxy authentication error
Hi gapan!
Yes i did. What i'm doing is this:
Yes i did. What i'm doing is this:
export http_proxy://user@name:passwd@host:port
Re: Proxy authentication error
Try using:
Code: Select all
export http_proxy://user%40name:passwd@host:port
Re: Proxy authentication error
Tryed it. No result. If i escape the '@' and then try the update i get:
With your suggestion i get:# slap-get -u
...Failed to download: Couldn't connect to server
# echo $http_proxy
http://user@name:passwd@host:port
# slap-get -u
...Failed to download: HTTP response code said error
# echo $http_proxy
http://user%40name:passwd@host:port
Re: Proxy authentication error
The problem is probably that as soon as the first @ is reached in the http_proxy, the system assumes that everything after it is host:port, which in your case isn't. Try putting the username in quotes, but if you can the best thing to do is to create a new username without a @ in it.
Re: Proxy authentication error
I think he cannot do it. I'm sure that the username is an email address. I already had this problem once when trying to connect from a Linux at work. I'm also interresting in a fix/resolution
Re: Proxy authentication error
Did you notice this in the slapt-get faq?
If you are using ~/.netrc, libcurl automatically picks up your preferences.
See the netrc(5) manpage for more information.
Re: Proxy authentication error
Still have the problem. I would change it but the username it's company issued.
I recall that with a ubuntu server that i installed for one of my colleges he accepted the username.
I just have installed Salix Core. Does it make any diference?
I recall that with a ubuntu server that i installed for one of my colleges he accepted the username.
I just have installed Salix Core. Does it make any diference?
Re: Proxy authentication error
No, I don't think so. Did you try that ~/.netrc thing? Should be /root/.netrc of course for slapt-get.