1) Give a description of the problem
Hello, i need help with this piston (with web request).
I have to call a web server on port 8000 but seems that web request works only on port 80.
2) What is the expected behavior?
The web server shoud answer (it happens if i call a webserver on port 80)
3) What is happening/not happening?
(PUT YOUR INFO HERE)
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS)
3/1/2018, 15:42:35 +123ms
+0ms â•”Received event [Casetta].time = 1514990556490 with a delay of -1368ms
+139ms â•‘RunTime Analysis CS > 14ms > PS > 35ms > PE > 91ms > CE
+142ms â•‘Runtime (40479 bytes) successfully initialized in 35ms (v0.2.101.20171227) (140ms)
+143ms â•‘â•”Execution stage started
+156ms â•‘â•‘Executed virtual command log (1ms)
+161ms â•‘â•‘false
+162ms â•‘â•‘Executed virtual command log (1ms)
+168ms â•‘â•‘false
+168ms â•‘â•‘Executed virtual command log (1ms)
+175ms â•‘â•‘Comparison (boolean) false is (boolean) true = false (2ms)
+176ms â•‘â•‘Condition #8 evaluated false (5ms)
+177ms â•‘â•‘Condition group #3 evaluated false (state did not change) (6ms)
+186ms â•‘â•‘Comparison (enum) not present is (string) present = false (2ms)
+187ms â•‘â•‘Condition #19 evaluated false (8ms)
+188ms â•‘â•‘Condition group #18 evaluated false (state did not change) (9ms)
+191ms ║║Cancelling statement #21’s schedules…
+194ms â•‘â•‘Executed virtual command setState (1ms)
+196ms ║╚Execution stage complete. (54ms)
+197ms ╚Event processed successfully (197ms)
3/1/2018, 15:42:16 +304ms
+0ms â•”Received event [Casetta].execute = :06478869dee5ec11f79ee34c22dda22a: with a delay of 78ms
+164ms â•‘RunTime Analysis CS > 19ms > PS > 45ms > PE > 100ms > CE
+167ms â•‘Runtime (40477 bytes) successfully initialized in 45ms (v0.2.101.20171227) (165ms)
+168ms â•‘â•”Execution stage started
+173ms ║║Cancelling statement #1’s schedules…
+176ms â•‘â•‘Executed virtual command setState (1ms)
+182ms â•‘â•‘Sending internal web request to: 10.0.0.21:8000
+185ms â•‘â•‘Executed virtual command httpRequest (2ms)
+186ms â•‘â•‘Requesting a wake up for Wed, Jan 3 2018 @ 3:42:36 PM CET (in 20.0s)
+189ms ║╚Execution stage complete. (22ms)
+191ms â•‘Setting up scheduled job for Wed, Jan 3 2018 @ 3:42:36 PM CET (in 19.996s)
+197ms ╚Event processed successfully (197ms)
3/1/2018, 15:38:46 +131ms
+0ms â•”Received event [Casetta].time = 1514990327923 with a delay of -1793ms
+150ms â•‘RunTime Analysis CS > 15ms > PS > 39ms > PE > 98ms > CE
+153ms â•‘Runtime (40478 bytes) successfully initialized in 39ms (v0.2.101.20171227) (151ms)
+154ms â•‘â•”Execution stage started
+167ms â•‘â•‘Executed virtual command log (1ms)
+173ms â•‘â•‘false
+174ms â•‘â•‘Executed virtual command log (1ms)
+180ms â•‘â•‘false
+181ms â•‘â•‘Executed virtual command log (1ms)
+188ms â•‘â•‘Comparison (boolean) false is (boolean) true = false (1ms)
+189ms â•‘â•‘Condition #8 evaluated false (6ms)
+190ms â•‘â•‘Condition group #3 evaluated false (state did not change) (7ms)
+199ms â•‘â•‘Comparison (enum) not present is (string) present = false (2ms)
+200ms â•‘â•‘Condition #19 evaluated false (8ms)
+201ms â•‘â•‘Condition group #18 evaluated false (state did not change) (9ms)
+204ms ║║Cancelling statement #21’s schedules…
+210ms â•‘â•‘Executed virtual command setState (2ms)
+212ms ║╚Execution stage complete. (59ms)
+213ms ╚Event processed successfully (213ms)
3/1/2018, 15:38:27 +715ms
+0ms â•”Received event [Casetta].test = 1514990307714 with a delay of 0ms
+170ms â•‘RunTime Analysis CS > 14ms > PS > 36ms > PE > 121ms > CE
+173ms â•‘Runtime (40475 bytes) successfully initialized in 36ms (v0.2.101.20171227) (172ms)
+174ms â•‘â•”Execution stage started
+182ms ║║Cancelling statement #1’s schedules…
+191ms â•‘â•‘Executed virtual command setState (4ms)
+199ms â•‘â•‘Sending internal web request to: 10.0.0.21:8000
+202ms â•‘â•‘Executed virtual command httpRequest (6ms)
+205ms â•‘â•‘Requesting a wake up for Wed, Jan 3 2018 @ 3:38:47 PM CET (in 20.0s)
+218ms ║╚Execution stage complete. (45ms)
+224ms â•‘Setting up scheduled job for Wed, Jan 3 2018 @ 3:38:47 PM CET (in 19.984s)
+234ms ╚Event processed successfully (233ms)
3/1/2018, 15:38:16 +620ms
+1ms ╔Starting piston… (v0.2.101.20171227)
+330ms ║╔Subscribing to devices…
+430ms ║╚Finished subscribing (108ms)
+455ms â•‘Comparison (boolean) null is (boolean) true = false (1ms)
+470ms â•‘Comparison (enum) not present is (string) not present = true (1ms)
+476ms ║Cancelling condition #17’s schedules…
+477ms ║Cancelling condition #16’s schedules…
+492ms â•‘Comparison (enum) not present is (string) present = false (2ms)
+493ms ║Cancelling condition #19’s schedules…
+494ms ║Cancelling condition #18’s schedules…
+506ms ╚Piston successfully started (505ms)
3/1/2018, 15:38:16 +366ms
+0ms â•”Received event [Casetta].execute = :06478869dee5ec11f79ee34c22dda22a: with a delay of 66ms
+175ms â•‘RunTime Analysis CS > 19ms > PS > 60ms > PE > 96ms > CE
+177ms â•‘Runtime (40463 bytes) successfully initialized in 60ms (v0.2.101.20171227) (176ms)
+178ms â•‘â•”Execution stage started
+183ms ║║Cancelling statement #1’s schedules…
+186ms â•‘â•‘Executed virtual command setState (0ms)
+192ms â•‘â•‘Sending internal web request to: 10.0.0.21:80
+195ms â•‘â•‘Executed virtual command httpRequest (2ms)
+196ms â•‘â•‘Requesting a wake up for Wed, Jan 3 2018 @ 3:38:36 PM CET (in 20.0s)
+199ms ║╚Execution stage complete. (21ms)
+201ms â•‘Setting up scheduled job for Wed, Jan 3 2018 @ 3:38:36 PM CET (in 19.996s)
+207ms ╚Event processed successfully (207ms)
3/1/2018, 15:37:26 +114ms
+1ms â•”Received event [Casetta].time = 1514990247602 with a delay of -1488ms
+171ms â•‘RunTime Analysis CS > 12ms > PS > 31ms > PE > 127ms > CE
+173ms â•‘Runtime (40466 bytes) successfully initialized in 31ms (v0.2.101.20171227) (172ms)
+174ms â•‘â•”Execution stage started
+187ms â•‘â•‘Executed virtual command log (1ms)
+192ms â•‘â•‘false
+193ms â•‘â•‘Executed virtual command log (1ms)
+199ms â•‘â•‘false
+199ms â•‘â•‘Executed virtual command log (1ms)
+206ms â•‘â•‘Comparison (boolean) false is (boolean) true = false (1ms)
+207ms â•‘â•‘Condition #8 evaluated false (5ms)
+208ms â•‘â•‘Condition group #3 evaluated false (state did not change) (6ms)
+217ms â•‘â•‘Comparison (enum) present is (string) present = true (1ms)
+218ms â•‘â•‘Condition #19 evaluated true (8ms)
+219ms â•‘â•‘Condition group #18 evaluated true (state did not change) (9ms)
+221ms ║║Cancelling statement #9’s schedules…
+589ms â•‘â•‘Executed physical command [null].departed() (366ms)
+590ms â•‘â•‘Executed [TV Soggiorno].departed (366ms)
+593ms ║║Cancelling statement #21’s schedules…
+596ms â•‘â•‘Executed virtual command setState (1ms)
+599ms ║╚Execution stage complete. (424ms)
+600ms ╚Event processed successfully (600ms)
3/1/2018, 15:37:07 +416ms
+0ms â•”Received event [Casetta].test = 1514990227415 with a delay of 1ms
+161ms â•‘RunTime Analysis CS > 15ms > PS > 40ms > PE > 106ms > CE
+164ms â•‘Runtime (40438 bytes) successfully initialized in 40ms (v0.2.101.20171227) (162ms)
+165ms â•‘â•”Execution stage started
+170ms ║║Cancelling statement #1’s schedules…
+175ms â•‘â•‘Executed virtual command setState (1ms)
+181ms â•‘â•‘Sending internal web request to: 10.0.0.21:80
+184ms â•‘â•‘Executed virtual command httpRequest (3ms)
+186ms â•‘â•‘Requesting a wake up for Wed, Jan 3 2018 @ 3:37:27 PM CET (in 20.0s)
+190ms ║╚Execution stage complete. (24ms)
+191ms â•‘Setting up scheduled job for Wed, Jan 3 2018 @ 3:37:27 PM CET (in 19.996s)
+197ms ╚Event processed successfully (197ms)
3/1/2018, 15:37:01 +682ms
+0ms ╔Starting piston… (v0.2.101.20171227)
+343ms ║╔Subscribing to devices…
+423ms ║╚Finished subscribing (90ms)
+452ms â•‘Comparison (boolean) null is (boolean) true = false (1ms)
+454ms ║Cancelling condition #8’s schedules…
+455ms ║Cancelling condition #3’s schedules…
+463ms â•‘Comparison (enum) present is (string) not present = false (2ms)
+464ms ║Cancelling condition #17’s schedules…
+465ms ║Cancelling condition #16’s schedules…
+478ms â•‘Comparison (enum) present is (string) present = true (1ms)
+480ms ║Cancelling condition #19’s schedules…
+481ms ║Cancelling condition #18’s schedules…
+490ms ╚Piston successfully started (490ms)
3/1/2018, 15:36:54 +140ms
+1ms â•”Received event [Casetta].time = 1514990215946 with a delay of -1806ms
+139ms â•‘RunTime Analysis CS > 12ms > PS > 30ms > PE > 96ms > CE
+141ms â•‘Runtime (40443 bytes) successfully initialized in 30ms (v0.2.101.20171227) (140ms)
+142ms â•‘â•”Execution stage started
+143ms ║╚Execution stage complete. (1ms)
+144ms ╚Event processed successfully (144ms)
3/1/2018, 15:36:36 +431ms
+1ms â•”Received event [Casetta].wc_async_reply = httpRequest with a delay of 0ms
+156ms â•‘RunTime Analysis CS > 17ms > PS > 30ms > PE > 109ms > CE
+159ms â•‘Runtime (40474 bytes) successfully initialized in 30ms (v0.2.101.20171227) (157ms)
+160ms â•‘â•”Execution stage started
+179ms â•‘â•‘text/html
+180ms â•‘â•‘Executed virtual command log (1ms)
+185ms â•‘â•‘true
+186ms â•‘â•‘Executed virtual command log (1ms)
+191ms â•‘â•‘true
+192ms â•‘â•‘Executed virtual command log (1ms)
+198ms â•‘â•‘Comparison (boolean) true is (boolean) true = true (1ms)
+200ms ║║Cancelling condition #8’s schedules…
+200ms â•‘â•‘Condition #8 evaluated true (5ms)
+201ms ║║Cancelling condition #3’s schedules…
+202ms â•‘â•‘Condition group #3 evaluated true (state changed) (7ms)
+211ms â•‘â•‘Comparison (enum) not present is (string) not present = true (1ms)
+212ms â•‘â•‘Condition #17 evaluated true (8ms)
+213ms â•‘â•‘Condition group #16 evaluated true (state did not change) (9ms)
+215ms ║║Cancelling statement #11’s schedules…
+301ms â•‘â•‘Executed physical command [null].arrived() (84ms)
+302ms â•‘â•‘Executed [TV Soggiorno].arrived (86ms)
+305ms ║║Cancelling statement #20’s schedules…
+308ms â•‘â•‘Executed virtual command setState (1ms)
+310ms ║╚Execution stage complete. (151ms)
+312ms ╚Event processed successfully (311ms)
3/1/2018, 15:36:35 +738ms
+0ms â•”Received event [Casetta].test = 1514990195737 with a delay of 0ms
+167ms â•‘RunTime Analysis CS > 15ms > PS > 45ms > PE > 108ms > CE
+171ms â•‘Runtime (40442 bytes) successfully initialized in 45ms (v0.2.101.20171227) (170ms)
+172ms â•‘â•”Execution stage started
+176ms ║║Cancelling statement #1’s schedules…
+188ms â•‘â•‘Executed virtual command setState (4ms)
+199ms â•‘â•‘Sending internal web request to: 10.0.0.15:80
+201ms â•‘â•‘Executed virtual command httpRequest (6ms)
+206ms â•‘â•‘Requesting a wake up for Wed, Jan 3 2018 @ 3:36:55 PM CET (in 20.0s)
+222ms ║╚Execution stage complete. (51ms)
+229ms â•‘Setting up scheduled job for Wed, Jan 3 2018 @ 3:36:55 PM CET (in 19.98s)
+235ms ╚Event processed successfully (236ms)
3/1/2018, 15:36:29 +965ms
+1ms ╔Starting piston… (v0.2.101.20171227)
+349ms ║╔Subscribing to devices…
+473ms ║╚Finished subscribing (134ms)
+507ms â•‘Comparison (boolean) null is (boolean) true = false (2ms)
+517ms â•‘Comparison (enum) not present is (string) not present = true (1ms)
+532ms â•‘Comparison (enum) not present is (string) present = false (1ms)
+533ms ║Cancelling condition #19’s schedules…
+534ms ║Cancelling condition #18’s schedules…
+548ms ╚Piston successfully started (548ms)
3/1/2018, 15:34:35 +379ms
+0ms â•”Received event [Casetta].time = 1514990076500 with a delay of -1121ms
+163ms â•‘RunTime Analysis CS > 15ms > PS > 46ms > PE > 102ms > CE
+166ms â•‘Runtime (40458 bytes) successfully initialized in 46ms (v0.2.101.20171227) (165ms)
+167ms â•‘â•”Execution stage started
+180ms â•‘â•‘Executed virtual command log (1ms)
+186ms â•‘â•‘false
+186ms â•‘â•‘Executed virtual command log (1ms)
+192ms â•‘â•‘false
+193ms â•‘â•‘Executed virtual command log (1ms)
+199ms â•‘â•‘Comparison (boolean) false is (boolean) true = false (2ms)
+201ms ║║Cancelling condition #8’s schedules…
+201ms â•‘â•‘Condition #8 evaluated false (6ms)
+202ms ║║Cancelling condition #3’s schedules…
+203ms â•‘â•‘Condition group #3 evaluated false (state changed) (8ms)
+213ms â•‘â•‘Comparison (enum) present is (string) present = true (1ms)
+214ms ║║Cancelling condition #19’s schedules…
+215ms â•‘â•‘Condition #19 evaluated true (10ms)
+216ms ║║Cancelling condition #18’s schedules…
+217ms â•‘â•‘Condition group #18 evaluated true (state changed) (11ms)
+219ms ║║Cancelling statement #9’s schedules…
+617ms â•‘â•‘Executed physical command [null].departed() (395ms)
+618ms â•‘â•‘Executed [TV Soggiorno].departed (397ms)
+621ms ║║Cancelling statement #21’s schedules…
+624ms â•‘â•‘Executed virtual command setState (1ms)
+627ms ║╚Execution stage complete. (460ms)
+628ms ╚Event processed successfully (628ms)
3/1/2018, 15:34:17 +276ms
+1ms â•”Received event [Casetta].wc_async_reply = httpRequest with a delay of 0ms
+9418ms â•‘RunTime Analysis CS > 14ms > PS > 9306ms > PE > 98ms > CE
+9419ms â•‘Piston waited at a semaphore for 9268ms
+9421ms â•‘Runtime (40511 bytes) successfully initialized in 9306ms (v0.2.101.20171227) (9419ms)
+9422ms â•‘â•”Execution stage started
+9423ms ║╚Execution stage complete. (1ms)
+9424ms ╚Event processed successfully (9424ms)
3/1/2018, 15:34:16 +314ms
+0ms â•”Received event [Casetta].execute = :06478869dee5ec11f79ee34c22dda22a: with a delay of 73ms
+164ms â•‘RunTime Analysis CS > 20ms > PS > 45ms > PE > 99ms > CE
+166ms â•‘Runtime (40454 bytes) successfully initialized in 45ms (v0.2.101.20171227) (165ms)
+167ms â•‘â•”Execution stage started
+172ms ║║Cancelling statement #1’s schedules…
+176ms â•‘â•‘Executed virtual command setState (0ms)
+182ms â•‘â•‘Sending internal web request to: 10.0.0.15
+184ms â•‘â•‘Executed virtual command httpRequest (3ms)
+185ms â•‘â•‘Requesting a wake up for Wed, Jan 3 2018 @ 3:34:36 PM CET (in 20.0s)
+189ms ║╚Execution stage complete. (21ms)
+190ms â•‘Setting up scheduled job for Wed, Jan 3 2018 @ 3:34:36 PM CET (in 19.996s)
+200ms ╚Event processed successfully (200ms)
3/1/2018, 15:33:26 +110ms
+0ms â•”Received event [Casetta].time = 1514990007942 with a delay of -1833ms
+145ms â•‘RunTime Analysis CS > 13ms > PS > 31ms > PE > 102ms > CE
+148ms â•‘Runtime (40434 bytes) successfully initialized in 31ms (v0.2.101.20171227) (146ms)
+149ms â•‘â•”Execution stage started
+150ms ║╚Execution stage complete. (1ms)
+151ms ╚Event processed successfully (152ms)
3/1/2018, 15:33:08 +612ms
+1ms â•”Received event [Casetta].wc_async_reply = httpRequest with a delay of 0ms
+175ms â•‘RunTime Analysis CS > 20ms > PS > 44ms > PE > 111ms > CE
+178ms â•‘Runtime (40464 bytes) successfully initialized in 44ms (v0.2.101.20171227) (175ms)
+179ms â•‘â•”Execution stage started
+199ms â•‘â•‘text/html
+200ms â•‘â•‘Executed virtual command log (1ms)
+206ms â•‘â•‘true
+207ms â•‘â•‘Executed virtual command log (1ms)
+213ms â•‘â•‘true
+213ms â•‘â•‘Executed virtual command log (1ms)
+220ms â•‘â•‘Comparison (boolean) true is (boolean) true = true (1ms)
+222ms ║║Cancelling condition #8’s schedules…
+223ms â•‘â•‘Condition #8 evaluated true (6ms)
+224ms ║║Cancelling condition #3’s schedules…
+224ms â•‘â•‘Condition group #3 evaluated true (state changed) (8ms)
+234ms â•‘â•‘Comparison (enum) not present is (string) not present = true (1ms)
+235ms â•‘â•‘Condition #17 evaluated true (8ms)
+236ms â•‘â•‘Condition group #16 evaluated true (state did not change) (10ms)
+238ms ║║Cancelling statement #11’s schedules…
+280ms â•‘â•‘Executed physical command [null].arrived() (40ms)
+281ms â•‘â•‘Executed [TV Soggiorno].arrived (41ms)
+284ms ║║Cancelling statement #20’s schedules…
+288ms â•‘â•‘Executed virtual command setState (1ms)
+291ms ║╚Execution stage complete. (112ms)
+292ms ╚Event processed successfully (292ms)
3/1/2018, 15:33:07 +751ms
+0ms â•”Received event [Casetta].test = 1514989987750 with a delay of 0ms
+155ms â•‘RunTime Analysis CS > 12ms > PS > 30ms > PE > 114ms > CE
+158ms â•‘Runtime (40432 bytes) successfully initialized in 30ms (v0.2.101.20171227) (157ms)
+159ms â•‘â•”Execution stage started
+167ms ║║Cancelling statement #1’s schedules…
+177ms â•‘â•‘Executed virtual command setState (3ms)
+185ms â•‘â•‘Sending internal web request to: 10.0.0.15
+187ms â•‘â•‘Executed virtual command httpRequest (5ms)
+189ms â•‘â•‘Requesting a wake up for Wed, Jan 3 2018 @ 3:33:27 PM CET (in 20.0s)
+205ms ║╚Execution stage complete. (46ms)
+212ms â•‘Setting up scheduled job for Wed, Jan 3 2018 @ 3:33:27 PM CET (in 19.979s)
+221ms ╚Event processed successfully (221ms)
3/1/2018, 15:33:00 +232ms
+1ms ╔Starting piston… (v0.2.101.20171227)
+278ms ║╔Subscribing to devices…
+369ms ║╚Finished subscribing (99ms)
+395ms â•‘Comparison (boolean) null is (boolean) true = false (2ms)
+406ms â•‘Comparison (enum) not present is (string) not present = true (2ms)
+420ms â•‘Comparison (enum) not present is (string) present = false (1ms)
+428ms ╚Piston successfully started (428ms)