Forum Discussion
Connar_Rosebrau
Jul 03, 2013Nimbostratus
"basic auth failed" when creating a simple connection
Hello,
When I run the code at the following link from the command line (ie. "python example.py") I get the exception "suds.transport.TransportError: HTTP Error 401: basic auth failed" ...
Connar_Rosebrau
Jul 08, 2013Nimbostratus
L4L7,
I am running Python 2.7.3 as the interpreter. Is there a way to tell which version of python is running scripts? I had a simple script that was simply "import sys; print sys.version_info" and when that was run using "python version.py" it said the version was 2.7.3 as well.
The interpreter may be running a different version of urllib2, but that's another thing that I don't know how to check. I will return with the answer for that.
edit:
urllib2 is version 2.7 in both cases. what else could be causing this?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects