I think I see the problem, the URL it's looking for is 
toolshedrepository/browse_valid_repositories<http://galaxy-dev.agresearch.co.nz/toolshedrepository/browse_valid_repositories>
 but it should be 
toolshed/repository/browse_valid_repositories<http://galaxy-dev.agresearch.co.nz/toolshedrepository/browse_valid_repositories>
Was missing a trailing slash in the URL in tool_sheds_conf.xml   :- (

--Russell



From: galaxy-dev-boun...@lists.bx.psu.edu 
[mailto:galaxy-dev-boun...@lists.bx.psu.edu] On Behalf Of Smithies, Russell
Sent: Monday, 23 July 2012 3:40 p.m.
To: galaxy-dev@lists.bx.psu.edu
Subject: [galaxy-dev] dns lookup failure and proxy errors from internal 
toolshed?

I'm trying to setup an internal toolshed but am getting DNS and proxy errors:
(I'm using port 8081 instead of 9009)

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET 
/toolshedrepository/browse_valid_repositories<http://galaxy-dev.agresearch.co.nz/toolshedrepository/browse_valid_repositories>.
Reason: DNS lookup failure for: localhost:8081repository

I'm rewriting my URLs like this:

    RewriteRule ^/toolshed$ /toolshed/ [R]
    RewriteRule ^/toolshed/static/style/(.*) 
/var/lib/galaxy/static/june_2007_style/blue/$1 [L]
    RewriteRule ^/toolshed/static/scripts/(.*) 
/var/lib/galaxy/static/scripts/packed/$1 [L]
    RewriteRule ^/toolshed/static/(.*) /var/lib/galaxy/static/$1 [L]
    RewriteRule ^/toolshed/favicon.ico /var/lib/galaxy/static/favicon.ico [L]
    RewriteRule ^/toolshed/robots.txt /var/lib/galaxy/static/robots.txt [L]
    RewriteRule ^/toolshed(.*) http://localhost:8081$1 [P]

I think it might be an Apache problem but no idea hat to try next.

Any ideas?

Thanx,
Russell Smithies
Invermay Agricultural Centre
Puddle Alley, Private Bag 50034, Mosgiel 9053, New Zealand
T  +64 3 489 3809  F  +64 3 489 3739  
www.agresearch.co.nz<http://www.agresearch.co.nz/>






________________________________

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