How to increase the timeout of CLI calls to the server to > 10 secs?


Daphne Burgerhoudt -


In our case the CLI function deployment.createDeployTask() returned

" RESTEASY004655: Unable to invoke request"

when it took more that 10 seconds to create the task on the server side.


XL Deploy CLI

Steps to Perform

You can use this optional argument socketTimeout while starting your CLI with

 -socketTimeout N   

Define the default socket timeout (SO_TIMEOUT) in
                      milliseconds which is the timeout for waiting for data.
                      Defaults to 10000 (default: 10000)
Additional Information



kb, how-to, XL Deploy CLI, Command Line Interface, increase timeout