nadeshseen commented on issue #77:
URL: 
https://github.com/apache/openwhisk-composer/issues/77#issuecomment-1255822413

   I have done Openwhisk setup on multiple VMs and installed redis on 1 of the 
VMs with "protected-mode no". I can ping the redis instance from other VMs. But 
I am still getting an error when I invoke action with parallel composition. 
   ### input.json
   ```
   {
       "$composer": {
           "openwhisk": {
               "ignore_certs": true
           },
           "redis": {
               "uri": "redis://<ip.of.vm.with.redis.installed>:6379"
           }
       },
       "key":"value"
     }
   ```
   ### Error
   When I run ```wsk -i action invoke <your composition action> -P input.json```
   ```
   Activation: 'map-test-compose-js-v' (553dad351c83424dbdad351c83024d1f)
   [
       "2022-09-22T19:17:49.179647165Z stdout: Entering composition",
       "2022-09-22T19:17:49.180707389Z stdout: barrierId: 
17d43677-3431-412e-ba7f-182e164a46df, spawning: 2",
       "2022-09-22T19:17:49.183446459Z stdout: { AbortError: LPUSH can't be 
processed. The connection is already closed.",
       "2022-09-22T19:17:49.183478358Z stdout:     at handle_offline_command 
(/node_modules/redis/index.js:851:15)",
       "2022-09-22T19:17:49.183512657Z stdout:     at 
RedisClient.internal_send_command (/node_modules/redis/index.js:885:9)",
       "2022-09-22T19:17:49.183522145Z stdout:     at RedisClient.lpush 
(/node_modules/redis/lib/commands.js:58:25)",
       "2022-09-22T19:17:49.183528863Z stdout:     at Promise (eval at 
initializeActionHandler (/nodejsAction/runner.js:56:23), <anonymous>:27:12)",
       "2022-09-22T19:17:49.183536793Z stdout:     at new Promise 
(<anonymous>)",
       "2022-09-22T19:17:49.183543514Z stdout:     at RedisClient.t.(anonymous 
function) [as lpushAsync] (eval at initializeActionHandler 
(/nodejsAction/runner.js:56:23), <anonymous>:26:86)",
       "2022-09-22T19:17:49.183550665Z stdout:     at m (eval at 
initializeActionHandler (/nodejsAction/runner.js:56:23), <anonymous>:35:39)",
       "2022-09-22T19:17:49.18355771Z  stdout:     at Object.parallel (eval at 
initializeActionHandler (/nodejsAction/runner.js:56:23), <anonymous>:80:105)",
       "2022-09-22T19:17:49.183564634Z stdout:     at $ (eval at 
initializeActionHandler (/nodejsAction/runner.js:56:23), <anonymous>:99:78)",
       "2022-09-22T19:17:49.183571192Z stdout:     at Promise.resolve.then 
(eval at initializeActionHandler (/nodejsAction/runner.js:56:23), 
<anonymous>:104:59)",
       "2022-09-22T19:17:49.18359971Z  stdout:   command: 'LPUSH',",
       "2022-09-22T19:17:49.183606096Z stdout:   code: 'NR_CLOSED',",
       "2022-09-22T19:17:49.183612299Z stdout:   args: [ 
'composer/fork/17d43677-3431-412e-ba7f-182e164a46df', 42 ] }"
   ]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@openwhisk.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to