typesafehub / conductr-cli

CLI for Lightbend ConductR
Other
16 stars 21 forks source link

How do i Set the env CONDUCTR_SANDBOX_WAIT_RETRIES to increase the wait timeout #547

Closed ejiro-precious closed 6 years ago

ejiro-precious commented 7 years ago

ConductR sanbox refuse to start after a timeout how do i increase this time out... full log

[ejiro@gigglebrains ~]$ sandbox run 2.1.9 -n 3 --feature visualization# Invalid features: 'visualization#' (choose from 'proxying', 'visualization', 'logging', 'lite-logging', 'monitoring', 'oci-in-docker', 'continuous-delivery') [ejiro@gigglebrains ~]$ sandbox run 2.1.9 -n 3 --feature visualization ------------------------------------------------ Starting ConductR

Extracting ConductR core to /home/ejiro/.conductr/images/core Extracting ConductR agent to /home/ejiro/.conductr/images/agent Starting ConductR core instance on 192.168.10.1.. Waiting for ConductR to start.............................. Error: ConductR has not been started within 60.0 seconds Error: Set the env CONDUCTR_SANDBOX_WAIT_RETRIES to increase the wait timeout Error: For more information check the ConductR log file at: /home/ejiro/.conductr/images/core/logs/conductr.log

longshorej commented 6 years ago

You can adjust this via the environment variable CONDUCTR_SANDBOX_WAIT_RETRIES, e.g. as follows:

export CONDUCTR_SANDBOX_WAIT_RETRIES=60

sandbox run 2.1.9 -n 3 --feature visualization

That being said, perhaps you're using Java 9? That would cause the sandbox to fail -- you'll need to use Java 8. /home/ejiro/.conductr/images/core/logs/conductr.log may provide more detail.

Note that ConductR is EOL, and we recommend using Kubernetes for service orchestration.

psriramula commented 6 years ago

thanks @longshorej , faced similar issue and had to switch to the 1.8 JDK.

ejiro-precious commented 6 years ago

Thanks @longshorej