[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[HTCondor-users] Requests and HTCondor Python bindings seem to fight over certificate
- Date: Tue, 27 Oct 2015 08:15:23 +0100
- From: Iain Steers <iain.steers@xxxxxxx>
- Subject: [HTCondor-users] Requests and HTCondor Python bindings seem to fight over certificate
I've been writing a small python script that runs on the central
It extracts some statistics from our htcondor deployment and also
queries our PuppetDB instance for some stats about the worker nodes.
It uses the Python requests library to query puppetdb.
In testing I've noticed that requests and the python-bindings work
individually in their queries but as soon as both are used in the same
script they seem to fight over the host certificate of the machine.
[Errno 336265218] _ssl.c:341: error:140B0002:SSL
I've also replicated the exact same error using urllib2 in place of
requests and the same thing happens.
urllib2.URLError: <urlopen error [Errno 336265218] _ssl.c:341:
error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib>
IIRC HTCondor uses the globus libraries behind-the-scenes so maybe it's
to do with the way they interact with the certificate.
Can anyone shed any light?