You are not logged in.
Pages: 1
When I try to download anything with wget it gives the error:
Error parsing proxy URL http://:8080/ Invalid host name
I can't even use w3m and Lynx because of the same reason. I'm using absolutely no proxy.
[erkin@rick ~]$ env | grep -i proxy
http_proxy=http://:8080
https_proxy=http://:0
no_proxy=
What should I do?
Offline
Those variables are getting set somewhere, you'll have to find out where and stop that.
# see if any profile scripts are doing it
grep proxy /etc/profile.d/**
# maybe a system service sets it on start
grep proxy /etc/rc.d/*
# or some apps user config is doing it
grep proxy ~/.*
//github/
Offline
-- To slow.
Last edited by Stebalien (2010-12-08 14:32:47)
Steven [ web : git ]
GPG: 327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com
Offline
You've got your http and https proxy environment variables set, which doesn't make sense if you're not using a proxy.
So you need to look for lines like the following in your .bashrc (or .zshrc, &c).
export http_proxy=http://:8080
export https_proxy=http://:0
and remove them.
Edit: also too slow! And not very thorough.
Last edited by kinhodder (2010-12-08 14:37:33)
Offline
Those variables are getting set somewhere, you'll have to find out where and stop that.
# see if any profile scripts are doing it grep proxy /etc/profile.d/** # maybe a system service sets it on start grep proxy /etc/rc.d/* # or some apps user config is doing it grep proxy ~/.*
All three retrieve nothing.
You've got your http and https proxy environment variables set, which doesn't make sense if you're not using a proxy.
So you need to look for lines like the following in your .bashrc (or .zshrc, &c).
export http_proxy=http://:8080 export https_proxy=http://:0
and remove them.
Edit: also too slow! And not very thorough.
There is nothing about proxy in .bashrc
Offline
This wiki page lists the files that are processed during startup
https://wiki.archlinux.org/index.php/Startup_files
Try to find which one is setting proxy
Offline
find / -type f -exec egrep -l 'export *https?_proxy=' {} \;
Heh, and go get a cup of coffee.
Just hundreds of access denied and invalid argument errors... Also I spilled coffee on my shirt.
Offline
It works now. Thank you.
Offline
Care to enlighten the rest of us what the problem was - or rather how you made it work?
Offline
Care to enlighten the rest of us what the problem was - or rather how you made it work?
I really don't know. I used the code up there and tried again but it didn't work. Today I tried wget again, and somehow it works flawless today.
Offline
Pages: 1