Forum Discussion
python sdk - cookie user mismatch
I have a python script that polls all our BigIPs every ten minutes to pull node/pool/virtual state and stats. Everything was working fine from my point of view, but the network admins say I'm filling their logs with:
AUTHCACHE Error processing cookie - Cookie user mismatch
I've search through here about how I can prevent these log errors I don't see anything helpful. How can I use cookies in the python sdk to stop this logging?
Actually, I found the solution. I was digging through some of Jason's git comments and I took a stab:
ManagementRoot(hostname='host',username='user',password='pass',token=True)
By adding token=True I see no more unfriendly httpd_errors messages.
- Malware_Mike_37Altocumulus
Hey Rob,
Would you be able to share the script? I would be happy to take a look.
- Rob_74473Cirrus
Actually, I found the solution. I was digging through some of Jason's git comments and I took a stab:
ManagementRoot(hostname='host',username='user',password='pass',token=True)
By adding token=True I see no more unfriendly httpd_errors messages.
- Malware_Mike_37Altocumulus
Interesting! Thanks for commenting back and what resolved the issue.
- Rob_74473Cirrus
Well, my 'script' is two classes totaling around 5500 lines of code dedicated to automating bigip management. I'd be more than happy to share what I've done, though the work is tailored to my automation work flow. I was hoping that devCentral would be a community, but it seems to be more a question and occasional answer forum only.
Recent Discussions
Related Content
* 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