You are not logged in.
Hi,
cause I have do connect throught internet via proxy i'm tray to export a system variable by doing:
export all_proxy=''http://username.password@proxyserver:port''
but, for example, if I try:
yaourt -Ss packgename
I get:
lexical error: invalid char in json tex.
(right here - proxy authentication required
I think that the problem is that my username is like
name.surname
and probably the dot between name and surname cause the error.
I CAN'T change my user name.
Can some one help to workaround this problem?
Thank you...
Offline
Try export http_proxy
https://bbs.archlinux.org/viewtopic.php … 46#p404446
I think it works similarly for other downloaders (curl).
Last edited by karol (2010-07-19 11:00:12)
Offline
I know that but the problem of username construct remain !
In wgetrc you can set a string egual to the one provided...
Offline
HTTP_PROXY=http://username:password@host:port
Try colon instead of dot.
Offline
Sorry, where I have to use colon(:) instead of dot (.)?
Server recognize my user name only in the form name.surname.
If I substitute dot with colon username mismatch.
I'm looking for a way to let dot be recognized as a normal character that is a part of the user name.
Probably I was not clear in the exposition of the problem...;-)
Offline
you wrote in your first post -> username.password
I suggest -> username:password
If username = foo.bar - let it be.
Offline
In the first post I also said:
"my username is like name.surname"
The problem is that, in general, I can't "let it be"...
:-(
Offline
karol isn't suggesting replacing the dot (.) in your username with a colon (:). He/she is suggesting separating your username and password with a colon instead of a dot:
http://bruce.smith:MyPassword@proxy.domain.local:3128
Last edited by fukawi2 (2010-07-19 22:41:19)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Sorry Karol & fukawi2!
I've completely miss understan!
Have you ever test the code provide?
Ay help for my question (at top)?
Offline
Have you ever test the code provide?
It's the way I always do it... I've never used a dot between the username and password.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
@ fukawi2
Does it work even if you use 'bruce.smith' and not 'skywalker' as your username? Does it doesn't mind the dot _in the username_?
Offline
@ fukawi2
Does it work even if you use 'bruce.smith' and not 'skywalker' as your username? Does it doesn't mind the dot _in the username_?
Thank you for the translation Karol!
That's qhat I need to know!
Thank you.
Hope now the question is more clear!
Offline
@ Alexbit
fukawi2 already mentioned it, I only want to be sure:
https://bbs.archlinux.org/viewtopic.php … 36#p794836
http://bruce.smith:MyPassword@proxy.domain.local:3128
There's a dot in the user.name.
Offline
@ Alexbit
fukawi2 already mentioned it, I only want to be sure:
https://bbs.archlinux.org/viewtopic.php … 36#p794836http://bruce.smith:MyPassword@proxy.domain.local:3128
There's a dot in the user.name.
I know but there's a small interesting things...
Is an example or is fukawi2 use it a "real case"?
In my scenario, a string like this (with a dot in the user name) cause the error I post in #1.
Offline
> Is an example or is fukawi2 use it a "real case"?
That's the thing I want to be sure about :-)
Offline
This is only an example:
http://bruce.smith:MyPassword@proxy.domain.local:3128
I don't have a dot in my username for any proxies so I can't test. You will need to try it and see if it works.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
I can't test!
All user name of our domain are based on "dot" and I can't do nothing about it because I'm not an admin.
For that I'm looking for a method to let the dot be recognized as a normal character that is a part of the user name (see #5).
I'm start thinking that is no possible... DAM! DAM! DAM!
Offline
What happens if you use
export all_proxy=''http://username:password@proxyserver:port''
Does it work?
export all_proxy=''http://name<dot>surname<colon>password@proxyserver:port''
Replace <dot> by . and <colon> by :
Last edited by karol (2010-07-20 11:37:17)
Offline
it do not work.
This is what I do:
#su root
#export all_proxy="http://name.surname:password@ipaddress:port"
# yaourt -Ss citrix
lexical error: invalid char in json text.
Proxy authentication required
(right here) ------^
Offline
https://bugs.launchpad.net/ubuntu/+sour … bug/318469
How about using sth other than yaourt?
Offline
It seems the same bug!
Do you think that I've to report that on arch bugs section?
I don't know sth. I've try google but it sugest me ssh.
Have you a link for sth?
(ps: I've do "yaourt ..." only because is the first command that I got in mind... :-) )
Last edited by Alexbit (2010-07-20 12:00:59)
Offline
Let's start again: do you get that error only when running yaourt? What happens if you do
pacman -Syu
?
Offline
Work already being installed!
And to be honest, I did not do any setting to get it going!
Firefox is set to use a proxy and asks me to authenticate (I must put every time I open it. Unless you save it).
In general, any program that connects to the Internet must be set to use proxy authentication and should not be otherwise.
If you want I can send the configuration files.
.. Thanks for your patience!
Offline
So pacman works, yaourt doesn't?
If so, you can file a bug report for the dot.
Offline
Offline