-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection lost after 20min. with latest UDM PRO Protect version 2.10.11 #19
Comments
I just had the same issue. If you configure the binding with a user id/password that requires Multifactor Authentication you will get this error. I needed to create a local account on my UNVR to be used by the binding to connect to it. See this conversation... Unifi Protect Binding in OH Marketplace Community. Hope that helps... |
My id/password has been local for over 2 years, only change was the latest Unifi update. To be 100% sure I made new id/password, did notice the password min. lenght is now 12 characters so had to make a longer one. Restarted the binding but no progress. Log messages are:
And a bit later:
Motion events pictures are not updated.
Next I noticed 13minutes later the following (Maybe related or not):
At least it seems that the password being 12 characters now got rid of the TOKEN errors. But the connection seems to be lost for Protect at 12:07 which is approx 1hr 6 minutes after the restart according to the binding watchdog while effectively it worked from 11:00 to 11:47. If the binding watchdog is approx. 20 minutes before triggering then that would make sense but that I don't know.
Will try a debug log as there is nothing in the info log when the things go off-line. |
With DEBUG log on and after restart the binding was working for approx. 20 minutes after which the following error shows:
The connection will not restore itself. For completeness the log of the last working request before above disconnect:
Hopes this helps, let me know if I can make any other logs. Thanks in advance. |
Hey, Also i removed and readded all things just a couple of minutes ago. Will report back if the issue reappears. |
Hi @Andre1Becker, DId this solve the issue? |
No, it seems to work only for a couple of hours before cameras stop responding. And I mean there online, but no info is refreshed anymore. I will try to get debug logs later on |
Now i have some debug logs - but i dont know if they any useful:
|
@marioschouten: you should remove the password from the logs you posted and immediately change it for the 'OH-Protect' user to be save. I just noticed it. |
@Andre1Becker Thanks, did mask my domain but missed that entry. All changed, luckly just a local account. Much appriciated you letting me know. |
Hi, Been running with unifiprotect-4.0.0-v1.3 and it works great. I have no disconnectons and motion detection field and last motion picture are back. Thanks a lot for the work you are doing, very much appriciated. |
Hi,
First of all, thanks for this binding, it’s a great asset to the OH system. I use it for gate control to see who is there, one UI for the whole system and switching the lights around the house for motion at night so my wife can see where the cats go beside the security benefits :-).
Issue: Since latest UDM PRO upgrade having issues with motion detection not working and motion picture updates stop updating. The things go offline and the log shows:
I've upgrade to OH 4.1.0 but did not help. On 4.1.0 I've removed the binding, stopped OH, cleared the cache and restarted but did not that also did not solve the issue. It works fine for an hour and then starts trowing the TOKEN_MISSING errors.
When I just hit save on the offline thing config it stays offline with the folowing error:
When I pause/start it comes back online.
Then bit later the watchdog kicks eventhough the thing shows online at this stage:
Other observations that may or not be related are that all Cameras go offline regularly on a whole hour, for example 09:00 or 11:00, looks like some process is running somewhere 3-4 times a day. Also noticed the Unifi Network binding is showing more offline events (average 20 per day), did not see this behaviour before the latest UDM PRO update.
Current versions are:
OH 4.1.0 with java 17.0.9 running on Proxmox VM.
UDM PRO is running v3.2.7 OS and 2.10.11 for Protect.
Please let me know if I can help with any specific logging, just talk me thought the procedure.
Thanks and best regards,
Mario
The text was updated successfully, but these errors were encountered: