Closed ridderr closed 3 years ago
This error means really that "USER_LOGGED_OUT" is returned from the server. I assume you got it only once... But what is worrying: normally if the devices are updated, the red bar should disappear (red means that the devices was not updated due to an error). Typically it is the same by a restart... When starting up the plugin (or Domoticz), the devices are set to "red" and upon the first update they are
Be aware that from the log, I don't see any proof of update of the devices anymore after the error... Could you restart the plugin and give me the complete log? Possibly I will need to give you a version with more traces... However if the server returns the "USER_LOGGED_OUT", I have no other idea so far as the credentials... Or it has again something to do with the expiry date of the credentials...
Hi Filip, I have tried to set the parameters again but still have the same error. Please find attached the log. I have removed some data from it because I don't know if this is sensitive data. Please let me know how I can help.
Before I start digging further into the code, you should check your Cookie. I find the trailing characters from ":expires=..." strange. I have never seen this and I have this not in mine. It could perhaps be a copy/paste problem and would prefer you check first. To give a bit more info, I pasted also mine with an indication how many digits I deleted so you could compare better (sorry perhaps I miscounted some characters, but it is a good indication).
YOURS:
__Secure-3PSIDCC=AJi4QfGU <
MINE: Secure-3PSID=1g<<66 char deleted>>6g.; Secure-3P<<39 char deleted>>14; NID=204=zS<<180 char deleted>>0k; Host-3PLSID=s.B<<80 char deleted>>Fw.; Secure-3PSIDCC=AJ<<70 char deleted>>sw
Hi Filip, I don't understand why this suddenly happend but trying to solve it made it worse. I now have tried again to get the right Cookie value from the message and YES it's working again.
OK, thanks for the information
Since a few days all Nest devices are constantly colored red (indicating they are not updated). I cannot find the cause, I thought it was due to expired parameters. But, updating these did not solve the issue. The only thing I noticed is "2021-05-11 22:13:20.367 Error: Nest: (Nest) API returned error: No active session found." But after that the system seems to run without errors.