My underfloor heating valves are controlled via HTTP.
Since the upgrade from 4.1.2 to 4.2.2, I have the problem that HTTP messages seem to queue up causing my whole openHAB instance to to slow down.
When this happens and I try to turn on a light in the web interface (which uses the DMX Binding via Artnet) for example, the item is updated immediately, but the light-fixture in the real world takes up to a minute to respond.
After a restart of openHAB everything becomes responsive again.
In my openhab.log file I can see hundreds of entries like these being created when I shut openHAB down:
2024-11-11 17:31:19.069 [WARN ] [ttp.internal.http.RefreshingUrlCache] - Request to URL http://192.168.0.55/digital/8 failed: java.util.concurrent.CancellationException
2024-11-11 17:31:19.069 [WARN ] [ttp.internal.http.RefreshingUrlCache] - Request to URL http://192.168.0.55/digital/6 failed: java.util.concurrent.CancellationException
2024-11-11 17:31:19.070 [WARN ] [ttp.internal.http.RefreshingUrlCache] - Request to URL http://192.168.0.55/digital/5 failed: java.util.concurrent.CancellationException
2024-11-11 17:31:19.070 [WARN ] [ttp.internal.http.RefreshingUrlCache] - Request to URL http://192.168.0.55/digital/7 failed: java.util.concurrent.CancellationException
2024-11-11 17:31:19.071 [WARN ] [ttp.internal.http.RefreshingUrlCache] - Request to URL http://192.168.0.55/digital/4 failed: java.util.concurrent.CancellationException
2024-11-11 17:31:19.071 [WARN ] [ttp.internal.http.RefreshingUrlCache] - Request to URL http://192.168.0.55/digital/2 failed: java.util.concurrent.CancellationException
2024-11-11 17:31:19.072 [WARN ] [ttp.internal.http.RefreshingUrlCache] - Request to URL http://192.168.0.55/digital/9 failed: java.util.concurrent.CancellationException
2024-11-11 17:31:19.072 [WARN ] [ttp.internal.http.RefreshingUrlCache] - Request to URL http://192.168.0.55/digital/3 failed: java.util.concurrent.CancellationException
This is my .thing file (It has more channels for the different rooms which look simmilar to the first one)
Thing http:url:Thermostat "Termostat" [ baseURL="http://192.168.0.55/digital/", timeout=10000, delay=5000, refresh=100 ] {
Channels:
Type switch : Wohnzimmer [
commandExtension="3/%2$s",
stateExtension="3",
stateTransformation="JSONPATH:$.return_value",
onValue="0",
offValue="1" ]
}
My subjective feeling is that when I increase the refresh
time, It takes longer for the problem to appear.