Forum Discussion

Rob_74473's avatar
Rob_74473
Icon for Cirrus rankCirrus
Nov 20, 2018

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.

     

  • 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.

     

  • 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.