LE error not seen before - new install [GAM]

SYSTEM INFORMATION
OS type and version Debian Linux 12
Webmin version 2.520
Usermin version 2.420
Virtualmin version 7.50.0 GPL
Theme version 25.20
Apache version 2.4.65
Package updates All installed packages are up to date
I have not seen this error before:

Brand new VM (ex Linode) so all DNS managed by them
Just ran the install script (as usual) = no errors

(yes) I know another Apache box !

Add the first VS all seemed OK
Add LE and get the error:

AttributeError: can't set attribute

now I have not seen that before, what exactly do they mean and why?

1 Like

This looks like a Python error and most likely a system bug.

Check the log for more details:

sudo tail -n 80 /var/log/letsencrypt/letsencrypt.log
root@139-162-***-***:~# sudo tail -n 80 /var/log/letsencrypt/letsencrypt.log
  "payload": "ewogICJpZGVudGlmaWVycyI6IFsKICAgIHsKICAgICAgInR5cGUiOiAiZG5zIiwKICAgICAgInZhbHVlIjogInBvaXNvbm91c2l2eS5jb20iCiAgICB9LAogICAgewogICAgICAidHlwZSI6ICJkbnMiLAogICAgICAidmFsdWUiOiAid3d3LnBvaXNvbm91c2l2eS5jb20iCiAgICB9LAogICAgewogICAgICAidHlwZSI6ICJkbnMiLAogICAgICAidmFsdWUiOiAibWFpbC5wb2lzb25vdXNpdnkuY29tIgogICAgfSwKICAgIHsKICAgICAgInR5cGUiOiAiZG5zIiwKICAgICAgInZhbHVlIjogImFkbWluLnBvaXNvbm91c2l2eS5jb20iCiAgICB9LAogICAgewogICAgICAidHlwZSI6ICJkbnMiLAogICAgICAidmFsdWUiOiAid2VibWFpbC5wb2lzb25vdXNpdnkuY29tIgogICAgfQogIF0KfQ"
}
2025-11-03 09:40:31,319:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/new-order HTTP/1.1" 429 301
2025-11-03 09:40:31,319:DEBUG:acme.client:Received response:
HTTP 429
Server: nginx
Date: Mon, 03 Nov 2025 09:40:31 GMT
Content-Type: application/problem+json
Content-Length: 301
Connection: keep-alive
Boulder-Requester: 2769719531
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index", <https://letsencrypt.org/docs/rate-limits>;rel="help"
Replay-Nonce: pUutGg57Ab7_XAV_qkV3kDpJ9TAPmsW-5wyRe_BegVx-UomdCWk
Retry-After: 612

{
  "type": "urn:ietf:params:acme:error:rateLimited",
  "detail": "too many failed authorizations (5) for \"www.-domain-.com\" in the last 1h0m0s, retry after 2025-11-03 09:50:43 UTC: see https://letsencrypt.org/docs/rate-limits/#authorization-failures-per-hostname-per-account",
  "status": 429
}
2025-11-03 09:40:31,319:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
  File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/lib/python3/dist-packages/certbot/_internal/main.py", line 1683, in make_displayer
    yield displayer
  File "/usr/lib/python3/dist-packages/certbot/_internal/main.py", line 1736, in main
    return config.func(config, plugins)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/certbot/_internal/main.py", line 1590, in certonly
    lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/certbot/_internal/main.py", line 138, in _get_and_save_cert
    lineage = le_client.obtain_and_enroll_certificate(domains, certname)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/certbot/_internal/client.py", line 516, in obtain_and_enroll_certificate
    cert, chain, key, _ = self.obtain_certificate(domains)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/certbot/_internal/client.py", line 428, in obtain_certificate
    orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/certbot/_internal/client.py", line 478, in _get_order_and_authorizations
    orderr = self.acme.new_order(csr_pem)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/acme/client.py", line 138, in new_order
    response = self._post(self.directory['newOrder'], order)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/acme/client.py", line 338, in _post
    return self.net.post(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/acme/client.py", line 711, in post
    return self._post_once(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/acme/client.py", line 724, in _post_once
    response = self._check_response(response, content_type=content_type)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/acme/client.py", line 575, in _check_response
    raise messages.Error.from_json(jobj)
acme.messages.Error: urn:ietf:params:acme:error:rateLimited :: There were too many requests of a given type :: too many failed authorizations (5) for "www.-domain-.com" in the last 1h0m0s, retry after 2025-11-03 09:50:43 UTC: see https://letsencrypt.org/docs/rate-limits/#authorization-failures-per-hostname-per-account

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/bin/letsencrypt", line 33, in <module>
    sys.exit(load_entry_point('certbot==2.1.0', 'console_scripts', 'certbot')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 19, in main
    return internal_main.main(cli_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/certbot/_internal/main.py", line 1733, in main
    with make_displayer(config) as displayer:
  File "/usr/lib/python3.11/contextlib.py", line 188, in __exit__
    exc.__traceback__ = traceback
    ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/josepy/util.py", line 191, in __setattr__
    raise AttributeError("can't set attribute")
AttributeError: can't set attribute
2025-11-03 09:40:31,322:ERROR:certbot._internal.log:An unexpected error occurred:
2025-11-03 09:40:31,323:ERROR:certbot._internal.log:AttributeError: can't set attribute
root@139-162-***-***:~# 

Python? where from? not my doing - just a clean new OS :frowning:

“Server nginx” - I assume that is the LE server ?

that

"too many failed authorizations (5) for \"www.-domain-.com\" in the last 1h0m0s, retry after 2025-11-03 09:50:43 UTC:

also makes no sense - this was the first attempt but their were 5 listed domains in the request all have A records

  • -domain-.com
  • www.-domain-.com
  • -mail.-domain-.com
  • admin.-domain-.com
  • webmail.-domain-.com

Is this still an issue?

yes, I’m afraid it is :angry:
today I have been asked to burn it and start over with a completely new supplier VM, location, etc. 2 days wasted already. I really do not understand why this has gone so wrong. I have other boxes all working so well (linode + debian + virtualmin + nginx) :timer_clock:

Is this still the same issue on the new box?

No idea yet - I’m still under instruction and have not had chance to register with new suppliers (+ domain provider) it has been a mad house here :fire: :fire_extinguisher:
:collision:
ran the SSL request again earlier and it failed again

but did notice a strange thing on the dashboard

that system hostname:
159-162-xxx-xxx.ip.linodeusercontent.com.(159.162.xxx.xxx)
where did that come from ?
not seen that on any other linode VM :astonished_face:

the error continues

even on another new VM (different supplier) different global location (about 200 miles)
Debian 12 image - so nothing to do with that
virtualmin installs ok - so no fault there
another LAMP bundle
add 1 VS seemed to go well up to the failure to install LE

yet again what is with this system hostname !
srv0010084.hstgr.cloud (147.93.xxx.xxx)

on all previous installs I am pretty sure I had to set this during the install script to something like
uk.-domain-.tld

Does the system with the issue have anything configured in the Webmin Servers Index module?

nothing as far as i can see

[Ed.] sorry @Ilia, in the rush (to get out of the office yesterday) your post alerted me to upload the wrong VM that I had just been working on [MBP] and then realised today so have corrected it. still nothing of note - i was not expecting anything - generally i keep out of Webmin