I’m running OH2.4 on Debian Linux (Upgrade with apt-get), have cleared the cache etc. so that all errors except this one are gone (at the moment):
[ERROR] [.smarthome.model.script.actions.HTTP] - Fatal transport error: java.util.concurrent.TimeoutException: Total timeout 1000 ms elapsed
I use the http-Binding with a 30000 ms timeout via http.cfg and don’t know why this error comes with this rule:
stvRequest = “https://user:pwd@home.myopenhab.org:443/rest/items/switch”
sendHttpPostRequest(stvRequest, “text/plain”, “ON”)
I also tried to catch the timeout with several catch-versions but i wasn’t able to catch this too.
try{
sendHttpPostRequest(stvRequest, “text/plain”, “ON”)
}
catch(Throwable t){
logInfo(“Fehler”, stvRequest)
}
How can i set the timeout bigger, how can i catch the timeout and what could the timeout caused by? At the moment i this error everytime but home.myopenhab.org is reachable and my internet is up.
Best regards
Michael