From hrh@fmi.ch Thu Oct 22 06:41:33 2015 From: Hans-Rudolf Hotz To: galaxy-dev@lists.galaxyproject.org Subject: [galaxy-dev] using Bioblend with external authentication Date: Thu, 22 Oct 2015 12:41:30 +0200 Message-ID: <5628BD5A.5010207@fmi.ch> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7281724199190954642==" --===============7281724199190954642== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi We would like to start using BioBlend on our production servers (which=20 use external authentication) as well. We have changed the apache conf file by adding Satisfy Any Allow from all Nevertheless, we still get the following error, when using one of the=20 example scripts: $ python list_data_libraries.py galaxy-dev.fmi.ch *************** Initiating Galaxy connection Retrieving Data Library list Traceback (most recent call last): File "list_data_libraries.py", line 23, in libraries =3D gi.libraries.get_libraries() File=20 "/****/lib/python2.6/site-packages/bioblend-0.6.1-py2.6.egg/bioblend/galaxy/l= ibraries/__init__.py",=20 line 216, in get_libraries libraries =3D Client._get(self, deleted=3Ddeleted) File=20 "/****/lib/python2.6/site-packages/bioblend-0.6.1-py2.6.egg/bioblend/galaxy/c= lient.py",=20 line 147, in _get raise ConnectionError(msg) bioblend.galaxy.client.ConnectionError: GET: error 401: '\n\n401=20 Authorization Required\n\n

Authorization=20 Required

\n

This server could not verify that you\nare authorized=20 to access the document\nrequested. Either you supplied the=20 wrong\ncredentials (e.g., bad password), or your\nbrowser doesn\'t=20 understand how to supply\nthe credentials=20 required.

....\n', 0 attempts left: None $ Is there anything else we need to change in the conf file, or do we have=20 to do something different? Thank you very much for any help with this Hans-Rudolf --=20 Hans-Rudolf Hotz, PhD Bioinformatics Support Friedrich Miescher Institute for Biomedical Research Maulbeerstrasse 66 4058 Basel/Switzerland --===============7281724199190954642==--