Page 1 of 1

New error at startup

PostPosted: Sun Apr 16, 2023 8:47 am
by Different Computers
I think my UDM had gotten in to a funky state, but after restarting unify-os and the plugin, the plugin gave this error:
Code: Select all
   uniFiAP Error                   'str' object has no attribute 'post'; line#,Module,Statement:(5203, 'executeCMDOnController', 'elif cmdType == "post":\tresp = self.unifiControllerSession.post(url, \tjson=dataSEND,\t\tcookies=cookies, headers=headers, allow_redirects=False, verify=False, timeout=(3.,10.), stream=setStream)')


This only happened a couple times at plugin startup, but I had never seen this error before so I thought it worth posting.

Re: New error at startup

PostPosted: Wed Apr 19, 2023 1:57 pm
by kw123
this is an error while reading / getting data from the controller. it sometimes happens. if it is a once in a while it is ok.

Karl