Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

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?

0
Rate this Question
Comments on this Question
Comment made 4 months ago by Malware Mike 121

Hey Rob,

Would you be able to share the script? I would be happy to take a look.

0
Comment made 4 months ago by Rob 180

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.

0

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

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.

0
Comments on this Answer
Comment made 4 months ago by Malware Mike 121

Interesting! Thanks for commenting back and what resolved the issue.

0