Friday, May 3, 2024
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 56627  / 3 Years ago, thu, august 12, 2021, 11:00:35

I have been using the proxy hproxy.iitm.ac.in. I've moved out now and want to change config to no proxy. On using:



curl -L https://get.rvm.io | bash -s stable --ruby --autolibs=enable --auto-dotfiles


I'm prompted with:



curl: (5) Couldn't resolve proxy 'hproxy.iitm.ac.in'


I'm not very proficient with Ubuntu (using 12.10). Please, could someone tell me what configurations I need to change to be able to use curl?



EDIT : I'm able to browse internet. I have also changed my ~/.bashrc to show:



export http_proxy="";
export https_proxy="";
export ftp_proxy="";


But it didnt help



Thanks.


More From » configuration

 Answers
2

From the comments and your output of env, you still have some proxy variables set. Execute the following commands to unset them:



unset http_proxy
unset ftp_proxy
unset https_proxy


Double check that they've been removed by:



env | grep -i proxy


Now try your curl command.


[#29368] Friday, August 13, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
adedes

Total Points: 454
Total Questions: 114
Total Answers: 111

Location: Turks and Caicos Islands
Member since Fri, May 8, 2020
4 Years ago
;