Re: [galaxy-dev] How to use the API when using a proxy server

2013-02-01 Thread Carl Eberhard
I'm glad that worked, Thon. Let us know if you run into any other problems with the API in a proxy set up. Carl On Thu, Jan 31, 2013 at 7:58 PM, Anthonius deBoer thondeb...@me.com wrote: Hi Carl, I am using the submit and get functions from the scripts/api/common.py I actually found

Re: [galaxy-dev] How to use the API when using a proxy server

2013-01-31 Thread Carl Eberhard
Hello Anthonius, Can you elaborate on how you're invoking the API? How are you calling it? Thanks, Carl On Wed, Jan 30, 2013 at 6:30 PM, Anthonius deBoer thondeb...@me.com wrote: Hi, I am trying to use the API with my galaxy server running behind a proxy server. How do I pass

Re: [galaxy-dev] How to use the API when using a proxy server

2013-01-31 Thread John Chilton
I don't know how to speak intelligently about this, so excuse my imprecise language. The idea is that you need to still pass session information (REMOTE_USER) along so JavaScript can access the API, but for /api you need to make that optional. I have an Apache server using TKTAuth. For that

Re: [galaxy-dev] How to use the API when using a proxy server

2013-01-31 Thread Anthonius deBoer
Hi Carl,I am using the submit and get functions from the scripts/api/common.pyI actually found that I just need to add authentication to the calls, so I added thiscodedef authenticate(url, u, p): auth_handler = urllib2.HTTPBasicAuthHandler() auth_handler.add_password(realm='GALAXY@GHI.

[galaxy-dev] How to use the API when using a proxy server

2013-01-30 Thread Anthonius deBoer
Hi,I am trying to use the API with my galaxy server running behind a proxy server.How do I pass username/password information to the API so it can actually run?If I use the regular API calls I get a access denied...ThanksThon ___ Please keep