Hi, i have setup my system working with HTTP Binding with 2 items(each item is connecting to a seperate server) BUT when 1 of the 2 connections is lost then the whole Binding seems to stop working and doesn’t update the items values…
DEBUG HTTPBinding
01:54:49.555 [DEBUG] [hab.binding.http.internal.HttpBinding] - item 'test1' is fetched from cache
01:54:49.556 [DEBUG] [hab.binding.http.internal.HttpBinding] - updating cache for 'test1' ('http://192.168.2.10/index.html')
01:44:14.549 [INFO ] [commons.httpclient.HttpMethodDirector] - I/O exception (java.net.ConnectException) caught when processing request: Connection timed out (Connection timed out)
01:44:14.550 [INFO ] [commons.httpclient.HttpMethodDirector] - Retrying request
Also if this helps i get also this message(in debug) even when the value updates normaly
01:57:03.578 [DEBUG] [hab.binding.http.internal.HttpBinding] - transformed response is '12.81'
01:57:03.579 [TRACE] [hab.binding.http.internal.HttpBinding] - Couldn't find matching binding provider [itemName=test1, command=CHANGED]
01:57:03.580 [INFO ] [smarthome.event.ItemStateChangedEvent] - test1 changed from 12.75 to 12.81
Things
test1.url=http://192.168.2.10/index.html
test1.updateInterval=5000
test2.url=http://192.168.1.33/index.html
test2.updateInterval=5000
Items
Number test1 "test1 [%.2f °C]" { http="<[test1:5000:REGEX((.*),,.*)]" }
Number test2 "test2 [%.2f °C]" { http="<[test2:5000:REGEX((.*),,.*)]" }
is there any work around which i have missed to seperate each job and be able to work seperate each item?
Thanks