Hi Everyone. I am trying to increate the timeout on the load balancer. I am using the latest version on Zato on docker.
The default value is 15000ms. I would like to increase connect, client and server on to 300000ms. Sadly I receive the following error
Caught an exception while invoking the load-balancer agent, e:`<class 'LookupError'>:unknown encoding: wb`
thank you very much! I have downloaded thet latest image. But I got the same error. But when i try to reenter the value anotheur time i got the following
Caught an exception while invoking the load-balancer agent, e:`<class 'Exception'>:Caught an exception, e:`Traceback (most recent call last):
File "/opt/zato/3.2.0/code/zato-common/src/zato/common/haproxy.py", line 150, in validate_haproxy_config
timeouting_popen(command, HAPROXY_VALIDATE_TIMEOUT, timeout_msg, rc_non_zero_msg, common_msg)
File "/opt/zato/3.2.0/code/zato-common/src/zato/common/util/api.py", line 1635, in timeouting_popen
raise Exception(msg)
Exception: Failed to validate the config file using HAProxy. config_file:``command:[['haproxy', '-c', '-f', '/tmp/zato-tmpmipugzo0']], return code:[2], stdout:[b'Configuration file has no error but will not start (no listener) => exit(2).\n'], stderr:[b'']
the load-balancer is an embedded instance of HAProxy. What you are getting here is a message from HAProxy saying that the config file that Zato generated is for some reason rejected.
Try to find out why it is the case, in the message from your screenshot, you can see the command that is run as well as where the config file is in, and you can try to reproduce it and find a root cause independently of Zato.
Could we have any feedback on this issue please. We still have problems to increase timeout on Zato (We use Zato on Docker). A little help would be great.