Hi,
I have the follwing command inside a rule…
logInfo("vWZpowerState", "sendHttpPostRequest() returns: " + sendHttpPostRequest(wzHost + wzCommandString, 10000))
and the generated string works immediately on the desired device, when I copy/paste it from the log to the browser. But my post statement inside the rules always results into a timeout:
2020-08-10 22:19:34.833 [ERROR] [.smarthome.model.script.actions.HTTP] - Fatal transport error: java.util.concurrent.TimeoutException: Total timeout 10000 ms elapsed
2020-08-10 22:19:34.840 [INFO ] [smarthome.model.script.vWZpowerState] - sendHttpPostRequest() returns: null
Any idea why? Thanks!