*1) Give a description of the problem
I have LANnoucer installed on Android phone and it tests out great when I send this URL via a browser:
http://192.168.10.164:1035/?SPEAK=Awaiting%20your%20command&@DONE@
I get the voice on the phone “Awaiting your command”
But when I put the same URL in a piston fully qualified it doesn’t see it as a local address.
If I just code the http://192.168.10.164 and put the string as the viable it sends it local but it doesn’t speak.
2) What is the expected behavior?
It should send the command to a local address and LANnouncer should say the phrase.
3) What is happening/not happening?
Getting an error in log for the piston on a timeout to a “external” web address.
If coded with just base url and variable nothing speaks, assuming malformed request is hitting LANnounce in this case.
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
+75ms | ║╔Execution stage started |
---|---|
+82ms | ║║Cancelling statement #1’s schedules… |
+113ms | ║║Sending external web request to: DONE |
+10133ms | ║║Error executing external web request: org.apache.http.conn.ConnectTimeoutException: Connect to 192.168.10.164:1035 [/192.168.10.164] failed: connect timed out |
+10135ms | ║║Executed virtual command httpRequest (10037ms) |
+10140ms | ║╚Execution stage complete. (10065ms) |
+10142ms | ╚Event processed successfully (10141ms) |
Log from just using the get with base url:
9/29/2018, 10:52:59 AM +151ms
+1ms ╔Received event [Home].time = 1538236380398 with a delay of -1247ms
+153ms ║RunTime Analysis CS > 58ms > PS > 61ms > PE > 34ms > CE
+157ms ║Runtime (38194 bytes) successfully initialized in 61ms (v0.3.108.20180906) (155ms)
+159ms ║╔Execution stage started
+174ms ║╚Execution stage complete. (16ms)
+177ms ╚Event processed successfully (176ms)
9/29/2018, 10:52:40 AM +298ms
+0ms ╔Received event [Home].test = 1538236360297 with a delay of 0ms
+61ms ║RunTime Analysis CS > 14ms > PS > 27ms > PE > 20ms > CE
+64ms ║Runtime (38189 bytes) successfully initialized in 27ms (v0.3.108.20180906) (62ms)
+65ms ║╔Execution stage started
+72ms ║║Cancelling statement #1’s schedules…
+88ms ║║Sending internal web request to: 192.168.10.164:1035/
+97ms ║║Executed virtual command httpRequest (12ms)
+99ms ║║Requesting a wake up for Sat, Sep 29 2018 @ 10:53:00 AM CDT (in 20.0s)
+115ms ║╚Execution stage complete. (51ms)
+123ms ║Setting up scheduled job for Sat, Sep 29 2018 @ 10:53:00 AM CDT (in 19.978s)
+132ms ╚Event processed successfully (132ms)