Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11000 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11000 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 305, in start_worker
    redis_connection = get_redis_conn(username=rq_username, password=rq_password)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 438, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 500, in get_redis_conn
    return get_redis_connection_without_auth()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 522, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/redis_queue.py", line 35, in get_connection
    conn.ping()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 1205, in ping
    return self.execute_command("PING", **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
2025-11-03 10:01:59,571 [Job services.sawaftech.com::scheduled_job::frappe.deferred_insert.save_to_db]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2025-11-03 10:02:01,516 [Job services.sawaftech.com::scheduled_job::frappe.automation.doctype.reminder.reminder.send_reminders]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2025-11-03 10:02:22,084 [Job services.sawaftech.com::scheduled_job::frappe.twofactor.delete_all_barcodes_for_users]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 668, in connect
    self._get_server_information()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 1098, in _get_server_information
    packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1469, in execute_command
    self.connection = self.connection_pool.get_connection(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    main()
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
ConnectionResetError: [Errno 104] Connection reset by peer
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    response = self.parse_response(block=(timeout is None), timeout=timeout)
    return _run_code(code, main_globals, None,
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
redis.exceptions.ConnectionError: Connection closed by server.
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
2026-01-06 10:48:09,620 Worker rq:worker:a7936d6682f94c0c8083fda5593c5fba: found an unhandled exception, quitting...
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 432, in work
    self.execute_job(job, queue)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1273, in execute_job
    self.monitor_work_horse(job, queue)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1210, in monitor_work_horse
    retpid, ret_val, rusage = self.wait_for_horse()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 951, in wait_for_horse
    pid, stat, rusage = os.wait4(self.horse_pid, 0)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 996, in request_stop
    self._shutdown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1005, in _shutdown
    self.set_shutdown_requested_date()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 836, in set_shutdown_requested_date
    self.connection.hset(self.key, 'shutdown_requested_date', utcformat(self._shutdown_requested_date))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 4952, in hset
    return self.execute_command("HSET", name, *items)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1269, in execute_command
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1273, in <lambda>
    lambda error: self._disconnect_raise(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1259, in _disconnect_raise
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1270, in <lambda>
    lambda: self._send_command_parse_response(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1246, in _send_command_parse_response
    return self.parse_response(conn, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
2026-01-06 10:48:09,890 Worker rq:worker:a810a7e5ee9c4b9daa149d810217fefa: found an unhandled exception, quitting...
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 432, in work
    self.execute_job(job, queue)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1273, in execute_job
    self.monitor_work_horse(job, queue)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1210, in monitor_work_horse
    retpid, ret_val, rusage = self.wait_for_horse()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 951, in wait_for_horse
    pid, stat, rusage = os.wait4(self.horse_pid, 0)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 996, in request_stop
    self._shutdown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1005, in _shutdown
    self.set_shutdown_requested_date()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 836, in set_shutdown_requested_date
    self.connection.hset(self.key, 'shutdown_requested_date', utcformat(self._shutdown_requested_date))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 4952, in hset
    return self.execute_command("HSET", name, *items)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1269, in execute_command
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1273, in <lambda>
    lambda error: self._disconnect_raise(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1259, in _disconnect_raise
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1270, in <lambda>
    lambda: self._send_command_parse_response(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1246, in _send_command_parse_response
    return self.parse_response(conn, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
2026-01-06 11:00:31,404 Worker rq:worker:0beb441c299a41bdbccb6fd94dd00271: found an unhandled exception, quitting...
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 432, in work
    self.execute_job(job, queue)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1273, in execute_job
    self.monitor_work_horse(job, queue)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1210, in monitor_work_horse
    retpid, ret_val, rusage = self.wait_for_horse()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 951, in wait_for_horse
    pid, stat, rusage = os.wait4(self.horse_pid, 0)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 996, in request_stop
    self._shutdown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1005, in _shutdown
    self.set_shutdown_requested_date()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 836, in set_shutdown_requested_date
    self.connection.hset(self.key, 'shutdown_requested_date', utcformat(self._shutdown_requested_date))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 4952, in hset
    return self.execute_command("HSET", name, *items)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1269, in execute_command
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1273, in <lambda>
    lambda error: self._disconnect_raise(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1259, in _disconnect_raise
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1270, in <lambda>
    lambda: self._send_command_parse_response(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1246, in _send_command_parse_response
    return self.parse_response(conn, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
2026-01-06 11:00:31,315 Worker rq:worker:5df6b0f4082a47f890c1e89d2e5de7e4: found an unhandled exception, quitting...
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 432, in work
    self.execute_job(job, queue)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1273, in execute_job
    self.monitor_work_horse(job, queue)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1210, in monitor_work_horse
    retpid, ret_val, rusage = self.wait_for_horse()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 951, in wait_for_horse
    pid, stat, rusage = os.wait4(self.horse_pid, 0)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 996, in request_stop
    self._shutdown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1005, in _shutdown
    self.set_shutdown_requested_date()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 836, in set_shutdown_requested_date
    self.connection.hset(self.key, 'shutdown_requested_date', utcformat(self._shutdown_requested_date))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 4952, in hset
    return self.execute_command("HSET", name, *items)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1269, in execute_command
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1273, in <lambda>
    lambda error: self._disconnect_raise(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1259, in _disconnect_raise
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1270, in <lambda>
    lambda: self._send_command_parse_response(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1246, in _send_command_parse_response
    return self.parse_response(conn, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
redis.exceptions.ConnectionError: Connection closed by server.
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
2026-01-18 21:37:51,829 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
2026-01-26 21:15:07,992 [Job services.sawaftech.com::scheduled_job::frappe.automation.doctype.reminder.reminder.send_reminders]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 230, in sql
    self._cursor.execute(query, values)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/cursors.py", line 153, in execute
    result = self._query(query)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/cursors.py", line 322, in _query
    conn.query(q)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 562, in query
    self._execute_command(COMMAND.COM_QUERY, sql)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 843, in _execute_command
    raise err.InterfaceError(0, "")
pymysql.err.InterfaceError: (0, '')

2026-01-26 21:15:07,993 [Job services.sawaftech.com::scheduled_job::frappe.utils.global_search.sync_global_search]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 230, in sql
    self._cursor.execute(query, values)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/cursors.py", line 153, in execute
    result = self._query(query)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/cursors.py", line 322, in _query
    conn.query(q)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 562, in query
    self._execute_command(COMMAND.COM_QUERY, sql)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 843, in _execute_command
    raise err.InterfaceError(0, "")
pymysql.err.InterfaceError: (0, '')

2026-01-26 21:15:08,126 [Job services.sawaftech.com::scheduled_job::frappe.deferred_insert.save_to_db]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 649, in connect
    sock = socket.create_connection(
  File "/usr/local/lib/python3.10/socket.py", line 845, in create_connection
    raise err
  File "/usr/local/lib/python3.10/socket.py", line 833, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 716, in connect
    raise exc
pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on '127.0.0.1' ([Errno 111] Connection refused)")

2026-01-26 21:15:08,126 [Job services.sawaftech.com::scheduled_job::frappe.pulse.client.send_queued_events]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 649, in connect
    sock = socket.create_connection(
  File "/usr/local/lib/python3.10/socket.py", line 845, in create_connection
    raise err
  File "/usr/local/lib/python3.10/socket.py", line 833, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 716, in connect
    raise exc
pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on '127.0.0.1' ([Errno 111] Connection refused)")

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1469, in execute_command
    self.connection = self.connection_pool.get_connection(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1469, in execute_command
    self.connection = self.connection_pool.get_connection(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1469, in execute_command
    self.connection = self.connection_pool.get_connection(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 825, in send_packed_command
    self._sock.sendall(item)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1469, in execute_command
    self.connection = self.connection_pool.get_connection(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 836, in send_packed_command
    raise ConnectionError(f"Error {errno} while writing to socket. {errmsg}.")
redis.exceptions.ConnectionError: Error 104 while writing to socket. Connection reset by peer.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    start_worker(
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
    bufflen = self._sock.recv_into(self._buffer)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    response = self._execute(conn, try_read)
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1469, in execute_command
    self.connection = self.connection_pool.get_connection(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1469, in execute_command
    self.connection = self.connection_pool.get_connection(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
2026-03-04 06:53:33,497 Could not connect to Redis instance: Connection closed by server. Retrying in 1 seconds...
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
2026-03-04 06:53:33,507 Could not connect to Redis instance: Connection closed by server. Retrying in 1 seconds...
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
2026-03-06 22:37:32,940 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:37:33,038 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:37:33,127 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:38:33,058 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:38:33,145 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:39:33,213 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:41:33,330 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:41:33,422 [Job services.sawaftech.com::scheduled_job::frappe.monitor.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:41:33,506 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:41:33,590 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:43:33,562 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:43:33,645 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:43:33,727 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:46:33,839 [Job services.sawaftech.com::scheduled_job::frappe.pulse.client.send_queued_events]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:46:33,926 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.notify_unreplied]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:46:34,012 [Job services.sawaftech.com::scheduled_job::frappe.automation.doctype.reminder.reminder.send_reminders]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:46:34,099 [Job services.sawaftech.com::scheduled_job::frappe.deferred_insert.save_to_db]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:46:34,184 [Job services.sawaftech.com::scheduled_job::frappe.model.utils.link_count.update_link_count]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:46:34,294 [Job services.sawaftech.com::scheduled_job::frappe.monitor.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:46:34,380 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:46:34,467 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:47:33,989 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:47:34,076 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.notify_unreplied]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:47:34,162 [Job services.sawaftech.com::scheduled_job::frappe.pulse.client.send_queued_events]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:47:34,248 [Job services.sawaftech.com::scheduled_job::frappe.automation.doctype.reminder.reminder.send_reminders]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:47:34,358 [Job services.sawaftech.com::scheduled_job::frappe.monitor.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:47:34,441 [Job services.sawaftech.com::scheduled_job::frappe.model.utils.link_count.update_link_count]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:57:34,949 [Job services.sawaftech.com::scheduled_job::frappe.model.utils.link_count.update_link_count]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:57:35,036 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:57:35,123 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.notify_unreplied]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:57:35,209 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:57:35,316 [Job services.sawaftech.com::scheduled_job::frappe.automation.doctype.reminder.reminder.send_reminders]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:57:35,403 [Job services.sawaftech.com::scheduled_job::frappe.monitor.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:57:35,489 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:58:35,070 [Job services.sawaftech.com::scheduled_job::frappe.monitor.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:58:35,158 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.notify_unreplied]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:58:35,245 [Job services.sawaftech.com::scheduled_job::frappe.model.utils.link_count.update_link_count]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:58:35,333 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 22:58:35,441 [Job services.sawaftech.com::scheduled_job::frappe.automation.doctype.reminder.reminder.send_reminders]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:00:35,324 [Job services.sawaftech.com::scheduled_job::frappe.utils.global_search.sync_global_search]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:00:35,410 [Job services.sawaftech.com::scheduled_job::frappe.deferred_insert.save_to_db]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:00:35,523 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.pull]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:00:35,626 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.notify_unreplied]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:00:35,765 [Job services.sawaftech.com::scheduled_job::frappe.oauth.delete_oauth2_data]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:00:35,851 [Job services.sawaftech.com::scheduled_job::frappe.desk.page.backups.backups.delete_downloadable_backups]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:00:35,937 [Job services.sawaftech.com::scheduled_job::frappe.website.doctype.personal_data_deletion_request.personal_data_deletion_request.process_data_deletion_request]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:00:36,095 [Job services.sawaftech.com::scheduled_job::frappe.model.utils.link_count.update_link_count]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:00:36,182 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.newsletter.newsletter.send_scheduled_email]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:00:36,268 [Job services.sawaftech.com::scheduled_job::frappe.automation.doctype.reminder.reminder.send_reminders]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:00:36,383 [Job services.sawaftech.com::scheduled_job::frappe.desk.utils.delete_old_exported_report_files]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:00:36,469 [Job services.sawaftech.com::scheduled_job::frappe.model.utils.user_settings.sync_user_settings]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:00:36,554 [Job services.sawaftech.com::scheduled_job::frappe.website.doctype.web_page.web_page.check_publish_status]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:00:36,707 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:00:36,797 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:00:36,890 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:03:35,565 [Job services.sawaftech.com::scheduled_job::frappe.deferred_insert.save_to_db]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:03:35,692 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:03:35,778 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:03:35,865 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.notify_unreplied]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:03:35,994 [Job services.sawaftech.com::scheduled_job::frappe.model.utils.user_settings.sync_user_settings]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:03:36,078 [Job services.sawaftech.com::scheduled_job::frappe.website.doctype.web_page.web_page.check_publish_status]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:03:36,162 [Job services.sawaftech.com::scheduled_job::frappe.oauth.delete_oauth2_data]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:03:36,326 [Job services.sawaftech.com::scheduled_job::frappe.model.utils.link_count.update_link_count]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:03:36,439 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.newsletter.newsletter.send_scheduled_email]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:03:36,527 [Job services.sawaftech.com::scheduled_job::frappe.automation.doctype.reminder.reminder.send_reminders]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:03:36,674 [Job services.sawaftech.com::scheduled_job::frappe.desk.page.backups.backups.delete_downloadable_backups]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:03:36,758 [Job services.sawaftech.com::scheduled_job::frappe.utils.global_search.sync_global_search]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:07:35,996 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.newsletter.newsletter.send_scheduled_email]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:07:36,081 [Job services.sawaftech.com::scheduled_job::frappe.deferred_insert.save_to_db]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:07:36,167 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:07:36,254 [Job services.sawaftech.com::scheduled_job::frappe.utils.global_search.sync_global_search]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:07:36,389 [Job services.sawaftech.com::scheduled_job::frappe.desk.page.backups.backups.delete_downloadable_backups]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:07:36,475 [Job services.sawaftech.com::scheduled_job::frappe.model.utils.user_settings.sync_user_settings]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:07:36,562 [Job services.sawaftech.com::scheduled_job::frappe.oauth.delete_oauth2_data]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:07:36,697 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.notify_unreplied]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:07:36,783 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:07:36,871 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:07:36,958 [Job services.sawaftech.com::scheduled_job::frappe.monitor.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:08:36,156 [Job services.sawaftech.com::scheduled_job::frappe.oauth.delete_oauth2_data]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:08:36,242 [Job services.sawaftech.com::scheduled_job::frappe.desk.page.backups.backups.delete_downloadable_backups]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:08:36,327 [Job services.sawaftech.com::scheduled_job::frappe.model.utils.user_settings.sync_user_settings]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:08:36,413 [Job services.sawaftech.com::scheduled_job::frappe.deferred_insert.save_to_db]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:08:36,545 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.newsletter.newsletter.send_scheduled_email]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:08:36,631 [Job services.sawaftech.com::scheduled_job::frappe.utils.global_search.sync_global_search]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:08:36,717 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:08:36,847 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:26:37,905 [Job services.sawaftech.com::scheduled_job::frappe.pulse.client.send_queued_events]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:26:37,993 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:26:38,080 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.notify_unreplied]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:26:38,166 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:26:38,328 [Job services.sawaftech.com::scheduled_job::frappe.model.utils.user_settings.sync_user_settings]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:26:38,413 [Job services.sawaftech.com::scheduled_job::frappe.oauth.delete_oauth2_data]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:26:38,524 [Job services.sawaftech.com::scheduled_job::frappe.desk.page.backups.backups.delete_downloadable_backups]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:26:38,625 [Job services.sawaftech.com::scheduled_job::frappe.model.utils.link_count.update_link_count]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:26:38,718 [Job services.sawaftech.com::scheduled_job::frappe.monitor.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:26:38,806 [Job services.sawaftech.com::scheduled_job::frappe.deferred_insert.save_to_db]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:26:38,916 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.pull]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:26:39,004 [Job services.sawaftech.com::scheduled_job::frappe.utils.global_search.sync_global_search]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:27:38,062 [Job services.sawaftech.com::scheduled_job::frappe.pulse.client.send_queued_events]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:27:38,183 [Job services.sawaftech.com::scheduled_job::frappe.desk.page.backups.backups.delete_downloadable_backups]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:27:38,284 [Job services.sawaftech.com::scheduled_job::frappe.model.utils.user_settings.sync_user_settings]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:27:38,368 [Job services.sawaftech.com::scheduled_job::frappe.oauth.delete_oauth2_data]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:27:38,491 [Job services.sawaftech.com::scheduled_job::frappe.monitor.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:27:38,597 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:27:38,682 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:27:38,771 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.pull]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:27:38,872 [Job services.sawaftech.com::scheduled_job::frappe.deferred_insert.save_to_db]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:28:38,206 [Job services.sawaftech.com::scheduled_job::frappe.deferred_insert.save_to_db]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:28:38,292 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:28:38,377 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.pull]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:28:38,463 [Job services.sawaftech.com::scheduled_job::frappe.pulse.client.send_queued_events]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:28:38,647 [Job services.sawaftech.com::scheduled_job::frappe.monitor.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:30:38,447 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:30:38,540 [Job services.sawaftech.com::scheduled_job::frappe.oauth.delete_oauth2_data]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:30:38,628 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.pull]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:30:38,718 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.notify_unreplied]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:30:38,855 [Job services.sawaftech.com::scheduled_job::frappe.deferred_insert.save_to_db]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:30:38,943 [Job services.sawaftech.com::scheduled_job::frappe.monitor.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:30:39,028 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:30:39,115 [Job services.sawaftech.com::scheduled_job::frappe.automation.doctype.reminder.reminder.send_reminders]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:35:38,838 [Job services.sawaftech.com::scheduled_job::frappe.automation.doctype.reminder.reminder.send_reminders]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:35:38,946 [Job services.sawaftech.com::scheduled_job::frappe.monitor.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:35:39,072 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:35:39,161 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.pull]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:35:39,309 [Job services.sawaftech.com::scheduled_job::frappe.oauth.delete_oauth2_data]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:35:39,397 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:35:39,487 [Job services.sawaftech.com::scheduled_job::frappe.deferred_insert.save_to_db]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:38:39,133 [Job services.sawaftech.com::scheduled_job::frappe.monitor.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:38:39,220 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:38:39,307 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:38:39,396 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:38:39,560 [Job services.sawaftech.com::scheduled_job::frappe.oauth.delete_oauth2_data]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:38:39,672 [Job services.sawaftech.com::scheduled_job::frappe.deferred_insert.save_to_db]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:39:39,254 [Job services.sawaftech.com::scheduled_job::frappe.monitor.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:39:39,342 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:39:39,430 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:39:39,519 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:40:39,382 [Job services.sawaftech.com::scheduled_job::frappe.monitor.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:40:39,471 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:40:39,558 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.pull]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:40:39,646 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:41:39,512 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:41:39,601 [Job services.sawaftech.com::scheduled_job::frappe.monitor.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:41:39,690 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.pull]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:44:39,824 [Job services.sawaftech.com::scheduled_job::frappe.monitor.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:44:39,911 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:44:39,999 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.pull]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:44:40,089 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:53:40,673 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.notify_unreplied]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:53:40,763 [Job services.sawaftech.com::scheduled_job::frappe.model.utils.link_count.update_link_count]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:53:40,850 [Job services.sawaftech.com::scheduled_job::frappe.deferred_insert.save_to_db]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:53:40,936 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:53:41,040 [Job services.sawaftech.com::scheduled_job::frappe.utils.global_search.sync_global_search]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:53:41,130 [Job services.sawaftech.com::scheduled_job::frappe.automation.doctype.reminder.reminder.send_reminders]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:53:41,221 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:53:41,309 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:54:40,828 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:54:40,930 [Job services.sawaftech.com::scheduled_job::frappe.utils.global_search.sync_global_search]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:54:41,023 [Job services.sawaftech.com::scheduled_job::frappe.model.utils.link_count.update_link_count]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:54:41,177 [Job services.sawaftech.com::scheduled_job::frappe.automation.doctype.reminder.reminder.send_reminders]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:54:41,267 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.notify_unreplied]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-06 23:54:41,356 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-07 00:01:41,519 [Job services.sawaftech.com::scheduled_job::frappe.core.doctype.prepared_report.prepared_report.expire_stalled_report]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-07 00:01:41,607 [Job services.sawaftech.com::scheduled_job::frappe.desk.page.backups.backups.delete_downloadable_backups]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-07 00:01:41,694 [Job services.sawaftech.com::scheduled_job::frappe.model.utils.user_settings.sync_user_settings]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-07 00:01:41,782 [Job services.sawaftech.com::scheduled_job::frappe.website.doctype.personal_data_deletion_request.personal_data_deletion_request.process_data_deletion_request]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-07 00:01:41,878 [Job services.sawaftech.com::scheduled_job::frappe.model.utils.link_count.update_link_count]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-07 00:01:41,966 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-07 00:01:42,053 [Job services.sawaftech.com::scheduled_job::frappe.integrations.doctype.google_calendar.google_calendar.sync]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-07 00:01:42,141 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.newsletter.newsletter.send_scheduled_email]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-07 00:01:42,246 [Job services.sawaftech.com::scheduled_job::frappe.desk.form.document_follow.send_hourly_updates]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-07 00:01:42,333 [Job services.sawaftech.com::scheduled_job::frappe.twofactor.delete_all_barcodes_for_users]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-07 00:01:42,421 [Job services.sawaftech.com::scheduled_job::frappe.oauth.delete_oauth2_data]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-07 00:01:42,581 [Job services.sawaftech.com::scheduled_job::frappe.deferred_insert.save_to_db]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-07 00:01:42,669 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.pull]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-07 00:01:42,758 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-07 00:01:42,847 [Job services.sawaftech.com::scheduled_job::frappe.automation.doctype.reminder.reminder.send_reminders]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-07 00:01:42,938 [Job services.sawaftech.com::scheduled_job::frappe.utils.global_search.sync_global_search]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

2026-03-07 00:01:42,940 [Job services.sawaftech.com::scheduled_job::frappe.email.doctype.email_account.email_account.notify_unreplied]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 256, in execute_job
    frappe.db.commit()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 1174, in commit
    self.sql("commit")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 207, in sql
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/database.py", line 112, in connect
    self._conn: "MariadbConnection" | "PostgresConnection" = self.get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 108, in get_connection
    conn = self._get_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 114, in _get_connection
    return self.create_connection()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/database/mariadb/database.py", line 117, in create_connection
    return pymysql.connect(**self.get_connection_settings())
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 361, in __init__
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 669, in connect
    self._request_authentication()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 957, in _request_authentication
    auth_packet = self._read_packet()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
    packet.raise_for_error()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1040, 'Too many connections')

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1469, in execute_command
    self.connection = self.connection_pool.get_connection(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1463, in get_connection
    if connection.can_read():
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1467, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
2026-03-17 20:28:31,147 Worker rq:worker:b4c107dd148d43f8b330f172917fdc78: found an unhandled exception, quitting...
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 432, in work
    self.execute_job(job, queue)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1273, in execute_job
    self.monitor_work_horse(job, queue)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1210, in monitor_work_horse
    retpid, ret_val, rusage = self.wait_for_horse()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 951, in wait_for_horse
    pid, stat, rusage = os.wait4(self.horse_pid, 0)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 996, in request_stop
    self._shutdown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1005, in _shutdown
    self.set_shutdown_requested_date()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 836, in set_shutdown_requested_date
    self.connection.hset(self.key, 'shutdown_requested_date', utcformat(self._shutdown_requested_date))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 4952, in hset
    return self.execute_command("HSET", name, *items)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1269, in execute_command
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1273, in <lambda>
    lambda error: self._disconnect_raise(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1259, in _disconnect_raise
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1270, in <lambda>
    lambda: self._send_command_parse_response(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1246, in _send_command_parse_response
    return self.parse_response(conn, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
2026-03-17 20:28:31,606 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.retry_sending_emails]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1463, in get_connection
    if connection.can_read():
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1437, in perform_job
    job.heartbeat(utcnow(), job.success_callback_timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 722, in heartbeat
    connection.hset(self.key, 'last_heartbeat', utcformat(self.last_heartbeat))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 4952, in hset
    return self.execute_command("HSET", name, *items)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1467, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1448, in perform_job
    job.heartbeat(utcnow(), job.failure_callback_timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 722, in heartbeat
    connection.hset(self.key, 'last_heartbeat', utcformat(self.last_heartbeat))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 4952, in hset
    return self.execute_command("HSET", name, *items)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.

2026-03-17 20:28:32,061 Worker rq:worker:532e7936150841d78a2f8fb96e6f218b: found an unhandled exception, quitting...
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 432, in work
    self.execute_job(job, queue)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1273, in execute_job
    self.monitor_work_horse(job, queue)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1210, in monitor_work_horse
    retpid, ret_val, rusage = self.wait_for_horse()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 951, in wait_for_horse
    pid, stat, rusage = os.wait4(self.horse_pid, 0)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 996, in request_stop
    self._shutdown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1005, in _shutdown
    self.set_shutdown_requested_date()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 836, in set_shutdown_requested_date
    self.connection.hset(self.key, 'shutdown_requested_date', utcformat(self._shutdown_requested_date))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 4952, in hset
    return self.execute_command("HSET", name, *items)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1269, in execute_command
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1273, in <lambda>
    lambda error: self._disconnect_raise(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1259, in _disconnect_raise
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1270, in <lambda>
    lambda: self._send_command_parse_response(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1246, in _send_command_parse_response
    return self.parse_response(conn, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
2026-03-17 20:28:33,393 [Job services.sawaftech.com::scheduled_job::frappe.email.queue.flush]: exception raised while executing (frappe.utils.background_jobs.execute_job)
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1463, in get_connection
    if connection.can_read():
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1437, in perform_job
    job.heartbeat(utcnow(), job.success_callback_timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 722, in heartbeat
    connection.hset(self.key, 'last_heartbeat', utcformat(self.last_heartbeat))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 4952, in hset
    return self.execute_command("HSET", name, *items)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1467, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1448, in perform_job
    job.heartbeat(utcnow(), job.failure_callback_timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/job.py", line 722, in heartbeat
    connection.hset(self.key, 'last_heartbeat', utcformat(self.last_heartbeat))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/commands/core.py", line 4952, in hset
    return self.execute_command("HSET", name, *items)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1266, in execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.

    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
StartedJobRegistry cleanup: Moving job to FailedJobRegistry (due to AbandonedJobError)
StartedJobRegistry cleanup: Moving job to FailedJobRegistry (due to AbandonedJobError)
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    return self.main(*args, **kwargs)
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    self.register_death()
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    p.execute()
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
redis.exceptions.ConnectionError: Connection closed by server.
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

    return conn.retry.call_with_retry(
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
    fail(error)
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    click.Group(commands=commands)(prog_name="bench")
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
    return callback(*args, **kwargs)
redis.exceptions.ConnectionError: Connection closed by server.
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    self.run()
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
Exception in thread Thread-1:
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    return self.main(*args, **kwargs)
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    response = self._execute(conn, try_read)
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1047, in teardown
    self.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 624, in unsubscribe
    self.pubsub.unsubscribe()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1659, in unsubscribe
    return self.execute_command("UNSUBSCRIBE", *args)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1479, in execute_command
    self._execute(connection, connection.send_command, *args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 847, in send_command
    self.send_packed_command(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 817, in send_packed_command
    self.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    return self.main(*args, **kwargs)
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 699, in connect
    sock = self.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 700, in <lambda>
    lambda: self._connect(), lambda error: self.disconnect(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1002, in _connect
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    raise err
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 990, in _connect
    sock.connect(socket_address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2114, in execute
    conn = self.connection_pool.get_connection("MULTI", self.shard_hint)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 1457, in get_connection
    connection.connect()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 705, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:11041. Connection refused.
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
Traceback (most recent call last):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 874, in read_response
    response = self._parser.read_response(disable_decoding=disable_decoding)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 493, in read_response
    self.read_from_socket()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 453, in read_from_socket
    bufflen = self._sock.recv_into(self._buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    exec(code, run_globals)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
    self.run()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1799, in run
    main()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/commands/scheduler.py", line 205, in start_worker
    start_worker(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/apps/frappe/frappe/utils/background_jobs.py", line 321, in start_worker
    worker.work(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 456, in work
    pubsub.get_message(ignore_subscribe_messages=True, timeout=sleep_time)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1690, in get_message
    response = self.parse_response(block=(timeout is None), timeout=timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1542, in parse_response
    response = self._execute(conn, try_read)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1518, in _execute
    return conn.retry.call_with_retry(
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
    fail(error)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1520, in <lambda>
    self.teardown()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 1046, in teardown
    lambda error: self._disconnect_raise_connect(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1507, in _disconnect_raise_connect
    raise error
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    self.register_death()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/rq/worker.py", line 832, in register_death
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1519, in <lambda>
    p.execute()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2120, in execute
    lambda: command(*args, **kwargs),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1536, in try_read
    if not conn.can_read(timeout=timeout):
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 861, in can_read
    return self._parser.can_read(timeout)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 444, in can_read
    return conn.retry.call_with_retry(
    return self.read_from_socket(timeout=timeout, raise_on_timeout=False)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 49, in call_with_retry
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 455, in read_from_socket
    fail(error)
    raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2122, in <lambda>
redis.exceptions.ConnectionError: Connection closed by server.
    lambda error: self._disconnect_raise_reset(conn, error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
    return do()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2121, in <lambda>
    lambda: execute(conn, stack, raise_on_error),
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1975, in _execute_transaction
    self.parse_response(connection, "_")
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 2060, in parse_response
    result = Redis.parse_response(self, connection, command_name, **options)
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/home/sawafcom/services.sawaftech.com/frappe-bench-services-sawaftech/env/lib/python3.10/site-packages/redis/connection.py", line 882, in read_response
    raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:11041 : (104, 'Connection reset by peer')
