mas
(Markus)
May 3, 2018, 6:45pm
1
Recently I often get the following error. However, I use the sendHttpGetRequest function in several rules. Can I find out which call causes the error?
2018-05-03 20:39:44.814 [ERROR] [.smarthome.model.script.actions.HTTP] - Fatal transport error: java.util.concurrent.TimeoutException
2018-05-03 20:39:45.816 [ERROR] [.smarthome.model.script.actions.HTTP] - Fatal transport error: java.util.concurrent.TimeoutException
2018-05-03 20:39:46.812 [ERROR] [.smarthome.model.script.actions.HTTP] - Fatal transport error: java.util.concurrent.TimeoutException
vzorglub
(Vincent Regaud)
May 3, 2018, 6:58pm
2
You can set a timeout value for each request:
You can submit an issue and ask a manually configured timeout be added to the binding, which is something that is probably a good idea anyway.
Towards the bottom of the thread is the solution
mas
(Markus)
May 3, 2018, 7:02pm
3
But for that I’d have to know where the mistake came from. And I don’t know how to figure that out.
Dim
(Angelos)
May 3, 2018, 7:04pm
4
you could try to add a log entry (e.g. logInfo) in your rule just before the action to track down which rule contains the action that times out. The default timeout is 5 secs, so look into the log for entries 5 secs before the timeout to see the “placeholder”
mas
(Markus)
May 4, 2018, 9:37am
5
Couldn’t the error have been caused by HTTP binding?
I can’t log this so easily, because this is requested periodically.
tnemrap
(Michael Parment)
February 12, 2019, 7:37pm
6
I also receive this, would in not be a good idea to add URL to error message?
/Mike
rossko57
(Rossko57)
February 12, 2019, 7:44pm
7
mas:
.script.actions.HTTP
a fair clue to non-binding source?
An enhancement request on github for the action seems reasonable (I think that falls in 1.x addons)