after sometime, when am running multiple instances of external task client . Is there any way to handle this and re establish the connection , so that the client runs continuously.
i am running some instances of external task client running on a wildfly, on start of the server. after sometime, mentioned error is seen in logs and still the external task client is able to fetch the external tasks, but after some more time, it is not picking up new tasks anymore. is it because of any backoff stragety by default? am not implementing any backoff stratgey explicitly.
by default the External Task Client uses an exponential backoff strategy if there are no External Tasks to ‘Fetch and Lock’. You can disable this behavior on bootstrapping the client by invoking #disableBackoffStrategy().
how to resolve this error:
org.camunda.bpm.client.impl.EngineClientException: TASK/CLIENT-02002 Exception while establishing connection for request ‘POST http://localhost:8080/engine-rest/external-task/fetchAndLock HTTP/1.1’
Please reply asap.