Forum Discussion
Chris_W__13732
Nimbostratus
Oct 10, 2012better error handling on pycontrol auth errors?
One thing I've noticed when working with the pycontrol v2 libraries is that if you don't set up your BIGIP object with correct username/password credentials, two things happen:
1. There is a tim...
Marc_Chisinevsk
Nimbostratus
Oct 28, 2012
Hi Chris,
1) This looks similar to a known python bug: "Using an invalid username or password while attempting to authenticate against HTTPS via the urllib2 module resulted in infinite recursion. This behavior has been patched, and urllib2 now attempts authentication a maximum of five times before authentication is considered failed."
(Please see https://bugzilla.redhat.com/show_bug.cgi?id=649274)
2) This lightweight iControl python lib is easy to use, troubleshoot and allows you to specify a timeout: bit.ly/PAisxi
Hope this helps,
Marc
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
