OH3: Unifi Binding - Buffering capacity 2097152 exceeded

Hi,

I am using OH3 M4.

The Unifi Binding throws an “java.lang.IllegalArgumentException” and is not working “COMM:ERROR”.

Error:
Unhandled exception while refreshing the UniFi Controller unifi:controller:bauers - java.lang.IllegalArgumentException: Buffering capacity 2097152 exceeded

Unifi Controller: 6.0.41 (Build: atag_6.0.41_14327)

Compacting controllers database didn’t solve the issue.

Any ideas?

Alexander

Could you post your configuration, since i updated to 6…0.4? controller i didi not get any connection.

@Dibbler42

Thing is configured in textfile “unifi.things”:

    Bridge unifi:controller:bauers "UniFi Controller" @ "Unifi" [ host="172.20.1.20", port=8443, username="xxxxx", password="yyyy", refresh=10 ] {
	    Thing client OnePlus2_Alexander	 		"Alexander OnePlus2 Private" 	[ mac="c0:ee:xx:xx:xx:xx", considerHome=180 ]
    }

Unifi controller can be reached from machine running openhab:

    PING 172.20.1.20 (172.20.1.20) 56(84) bytes of data.
    64 bytes from 172.20.1.20: icmp_seq=1 ttl=63 time=4.11 ms
    64 bytes from 172.20.1.20: icmp_seq=2 ttl=63 time=4.04 ms

Alexander

Thanks for the configuration. Mine is of the same kind so that seams not the problem.

Controller is reachable, but
image

And no information in the logs. I will try that again with debug loglevel

For cloudkey unifi os is a big change with firmware.2.0.18 and above. I have fixed this for the unifiprotect binding, see details here:

That is maybe the reason. Is there a development build og the binding to test thing. I run Cloud Key 2 plus with 2.0.22 an controller 6.041

Hi,

I’m not using UDM/ UDM-Pro or CloudKey. My controller “lives” in his own VM.
Interestingly it woks on my OH 2.5 installation …

Just saw, that an issue has been filed:

Seems to be equivalent/ possible same root cause:

and proposed solution here:

Alexander