• Support
  • SSL Autorenew failed with python error

I noticed that SSL renewals failed with some error. Can you tell me more about this error?
/www/server/panel/class/acme_v2.py:722: SyntaxWarning: invalid escape sequence '\.'
'if ($request_uri ~ "^/\.well-known/acme-challenge/{}.*"){{\n'
/www/server/panel/class/acme_v2.py:931: SyntaxWarning: invalid escape sequence '\s'
return public.get_msg_gettext("Issuance failed, the root domain name of domain name %s exceeds the maximum weekly issuance limit!" % re.findall("hours:\s+(.+?),", error))

I see the part where it says weekly issuance limit exceeds , but when I manually renew the certificate from the website settings it works well

    4 days later

    Hello, the content you pasted is normal. It is a warning message of python3.12 and will not affect the use.
    Are there any other error messages?

    Vladmin-Server

    No. There is only this one. But now I have another one on the panel when Logging in

    `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 655, in _internal_connect
    raise _SocketError(result, strerror(result))
    OSError: [Errno 101] Network is unreachable

    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 404, in make_request
    self.
    validate_conn(conn)
    File "/www/server/panel/pyenv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 1058, in validate_conn
    conn.connect()
    File "/www/server/panel/pyenv/lib/python3.12/site-packages/urllib3/connection.py", line 363, in connect
    self.sock = 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 101] Network is unreachable

    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: HTTPSConnectionPool(host='www.aapanel.com', port=443): Max retries exceeded with url: /api/panel/getSoftListEn?status=False&msg=Please+login+with+account+first&environment_info=%7B%7D (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 101] Network is unreachable'))

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/www/server/panel/BTPanel/init.py", line 2520, in publicObject
    return run_exec().run(toObject, defs, get)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/www/server/panel/BTPanel/init.py", line 2466, in run
    result = getattr(toObject, get.action)(get)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/www/server/panel/class_v2/ajax_v2.py", line 1793, in get_pay_type
    plugin_list = plu_panel.get_cloud_list()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/www/server/panel/class/panelPlugin.py", line 426, in get_cloud_list
    softList = public.load_soft_list(True if force == 1 else False)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/www/server/panel/class/public/init.py", line 8079, in load_soft_list
    resp = requests.post(cloudUrl, params=pdata, headers=url_headers, verify=False, timeout=10)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/www/server/panel/pyenv/lib/python3.12/site-packages/requests/api.py", line 115, in post
    return request("post", url, data=data, json=json, **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: HTTPSConnectionPool(host='www.aapanel.com', port=443): Max retries exceeded with url: /api/panel/getSoftListEn?status=False&msg=Please+login+with+account+first&environment_info=%7B%7D (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 101] Network is unreachable'))`

    requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.aapanel.com', port=443): Max retries exceeded with url: /api/panel/getSoftListEn?status=False&msg=Please+login+with+account+first&environment_info=%7B%7D (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 101] Network is unreachable'))

    Hello, is the problem solved? This is caused by the server being unable to connect to our node.
    Is it possible to connect to our node server?

    curl -v https://brandnew.aapanel.com
    ping brandnew.aapanel.com -c 5
    ping google.com -c 5
    curl -v http://brandnew.aapanel.com

    Vladmin-Server

    Seems that the problem was a temporary one . Thank you for the info