When I run Mail Server 5.4.11 version rspamd GUI, it gives the following error.
`An error occurred while the panel was running!
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=11334): Max retries exceeded with url: /rspamd/ (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))
REQUEST_DATE: 2024-12-09 02:14:33
VERSION: Ubuntu 20.04.1 LTS x86_64(Py3.12.3) - 7.19.0
REMOTE_ADDR: 176.40.9.90
REQUEST_URI: GET /rspamd?
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.12/site-packages/urllib3/connection.py", line 174, in new_conn
conn = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/www/server/panel/pyenv/lib/python3.12/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
File "/www/server/panel/pyenv/lib/python3.12/site-packages/gevent/socketcommon.py", line 590, in connect
self.internal_connect(address)
File "/www/server/panel/pyenv/lib/python3.12/site-packages/gevent/socketcommon.py", line 634, in _internal_connect
raise _SocketError(err, strerror(err))
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 715, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 416, in make_request
conn.request(method, url, **httplib_request_kw)
File "/www/server/panel/pyenv/lib/python3.12/site-packages/urllib3/connection.py", line 244, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/www/server/panel/pyenv/lib/python3.12/http/client.py", line 1336, in request
self.send_request(method, url, body, headers, encode_chunked)
File "/www/server/panel/pyenv/lib/python3.12/http/client.py", line 1382, in send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/www/server/panel/pyenv/lib/python3.12/http/client.py", line 1331, in endheaders
self.send_output(message_body, encode_chunked=encode_chunked)
File "/www/server/panel/pyenv/lib/python3.12/http/client.py", line 1091, in send_output
self.send(msg)
File "/www/server/panel/pyenv/lib/python3.12/http/client.py", line 1035, in send
self.connect()
File "/www/server/panel/pyenv/lib/python3.12/site-packages/urllib3/connection.py", line 205, in connect
conn = self.new_conn()
^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.12/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 799, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=11334): Max retries exceeded with url: /rspamd/ (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.12/site-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/BTPanel/init.py", line 1716, in proxy_rspamd_requests
req = requests.get(url, headers=headers, stream=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=11334): Max retries exceeded with url: /rspamd/ (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))
Sorry, an unexpected error occurred while the panel was running. Please try to resolve this error in the following order:
- Click the Fix button in the upper right corner of [Home], and log out of the panel and log in again.
- Still unresolved, please take a screenshot of this window and post on the forum for help, address:https://www.aapanel.com/foru`