Found the cure - just required adding urllib2.ProxyHandler in the data_source 
tools.
Why doesn't Galaxy pick up the system http_proxy variables?

--Russell Smithies


From: galaxy-dev-boun...@lists.bx.psu.edu 
[mailto:galaxy-dev-boun...@lists.bx.psu.edu] On Behalf Of Smithies, Russell
Sent: Wednesday, 30 November 2011 9:09 a.m.
To: galaxy-dev@lists.bx.psu.edu
Subject: [galaxy-dev] proxy settings?

I'm new to Galaxy so I'm not sure if this a Galaxy or linux/apache question .

When I try to "Get Data" from UCSC or any other external site, I get a 407 
error from our proxy as I need to authenticate.
Is the request going out as the 'galaxy' user or 'apache' or the user that's 
logged in?
I already have http_proxy and ftp_proxy configured in /etc/profile (we're 
running Centos 6) but I assume there a correct place to configure this for 
Galaxy?

The error message I'm seeing is:
An error occurred running this job: The remote data source application may be 
off line, please try again later. Error: ('http error', 407, 'Proxy Access 
Denied', <httplib.HTTPMessage instance at 0x35d2998>)

Any ideas?

Thanx,

Russell Smithies




________________________________

Attention: The information contained in this message and/or attachments from 
AgResearch Limited is intended only for the persons or entities to which it is 
addressed and may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of, or taking of any action in 
reliance upon, this information by persons or entities other than the intended 
recipients is prohibited by AgResearch Limited. If you have received this 
message in error, please notify the sender immediately.

________________________________


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/

Reply via email to