Re: [galaxy-dev] Local toolshed not working HTTPError: HTTP Error 400: Bad Request
On Mon, Feb 4, 2013 at 2:01 PM, Carlos Borroto carlos.borr...@gmail.com wrote: I can manually confirm this URL is incorrect: tool_shed_url=http://toolsheddev.bfx.brel.local:9009/repository_ids=ee9b707789bf4714changeset_revisions=71b062907e0d When I try to directly access it I get this error: Not Found The resource could not be found. No action for /repository_ids=ee9b707789bf4714changeset_revisions=71b062907e0d Well after some more testing it seems this is not correct. I checked what happens when I'm installing a tool from the Galaxy's main toolshed and I get a similar behavior. Galaxy's main toolshed: [04/Feb/2013:16:40:31 -0400] GET /admin_toolshed/prepare_for_install?tool_shed_url=http://toolshed.g2.bx.psu.edu/repository_ids=1d92ebdf7e8d466cchangeset_revisions=a23b0627623c HTTP/1.1 200 - http://toolshed.g2.bx.psu.edu/repository/preview_tools_in_changeset?repository_id=1d92ebdf7e8d466cchangeset_revision=a23b0627623c; Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0 This URL also cannot be accessed directly but that doesn't stops the tool from being correctly installed: tool_shed_url=http://toolshed.g2.bx.psu.edu/repository_ids=1d92ebdf7e8d466cchangeset_revisions=a23b0627623c Local toolshed: [04/Feb/2013:16:41:53 -0400] GET /admin_toolshed/prepare_for_install?tool_shed_url=http://toolsheddev.bfx.brel.local:9009/repository_ids=ee9b707789bf4714changeset_revisions=38d24f5c5bae HTTP/1.1 500 - http://toolsheddev.bfx.brel.local:9009/repository/preview_tools_in_changeset?repository_id=ee9b707789bf4714changeset_revision=38d24f5c5bae; Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0 What I do see is HTTP/1.1 200 response from Galaxy's main and HTTP/1.1 500 from my local toolshed. I'll keep pocking around to see what I can find. --Carlos ___ 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/
Re: [galaxy-dev] Local toolshed not working HTTPError: HTTP Error 400: Bad Request
Thanks for the information Carlos, I'll add this to the tool shed wiki. On Feb 4, 2013, at 5:19 PM, Carlos Borroto wrote: Solved! It was related to my proxy configuration after all. Setting the no_proxy environment variable fixed this issue for me. I see this is a corner case but just in case someone else runs into it, this is a summary of what I did. If your network uses a http proxy who do not answer to local hostnames requests and you have setup the http_proxy environment variable. In order to get a local toolshed going, you will need to do two things. - Add to ~/.hgrc: [http_proxy] no = [comma separated list of hostnames for your local toolsheds. Note: domain regex won't work] - Set no_proxy environment variable. For bash in Redhat/CentOS I like adding to /etc/profile.d/custom.sh: export no_proxy=[comma separated list of local domains] Hope it helps, Carlos ___ 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/ ___ 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/