Self Host Retool Stopped Working due to Expired LetsEncrypt Certificate

Our cert has expired and the app stopped working we need to renew the cert.

Initially we get this error when trying to connect to the app:

Your connection is not private
Attackers might be trying to steal your information from retool.companydomain.cloud (for example, passwords, messages, or credit cards). Learn more
NET::ERR_CERT_DATE_INVALID
To get Chrome’s highest level of security, turn on enhanced protection

This server could not prove that it is
retool.companydomain.cloud
; its security certificate expired 5 days ago. This may be caused by a misconfiguration or an attacker intercepting your connection. Your computer's clock is currently set to Tuesday, April 9, 2024. Does that look right? If not, you should correct your system's clock and then refresh this page.

After running the docker-compose down and docker-compose up, it finished
but now we get:

Error response from daemon: network 1661c7631abe9726737bb988da298252390b6109df053e0f61587a not found

and the app cannot be reached

Help needed please.

We also came across this error:

raise ValueError("Challenge did not pass for {0}: {1}".format(domain, authorization))
ValueError: Challenge did not pass for retool.mydomain.cloud: {u'status': u'invalid', u'challenges': [{u'status': u'invalid', u'validationRecord': [{u'addressesResolved': [u'3.98.xx.xx'], u'url': u'http://retool.mydomain.cloud/.well-known/acme-challenge/TWTPpPswp5FD1ce_RACXht9lGhYnwpU7NbLDQA7tW_w', u'hostname': u'retool.mydomain.cloud', u'resolverAddrs': [u'A:10.1.xx.xx:28098', u'AAAA:10.1.xx.xx:20140'], u'addressUsed': u'3.98.xx.xx', u'port': u'80'}], u'url': u'https://acme-v02.api.letsencrypt.org/acme/chall-v3/336826111487/X9h3kQ', u'token': u'TWTPpPswp5FD1ce_RACXht9lGhYnwpU7NbLDQA7tW_w', u'error': {u'status': 400, u'type': u'urn:ietf:params:acme:error:connection', u'detail': u'3.98.xx.xxx: Fetching http://retool.mydomain.cloud/.well-known/acme-challenge/TWTPpPswp5FD1ce_RACXht9lGhYnwpU7NbLDQA7tW_w: Timeout during connect (likely firewall problem)'}, u'validated': u'2024-04-10T13:27:03Z', u'type': u'http-01'}], u'identifier': {u'type': u'dns', u'value': u'retool.mydomain.cloud'}, u'expires': u'2024-04-17T13:27:03Z'}

Registering account...
Already registered!
Creating new order...
Order created!
Verifying retool.mydomain.cloud...
Traceback (most recent call last):
File "/bin/acme_tiny", line 197, in
main(sys.argv[1:])
File "/bin/acme_tiny", line 193, in main
signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, log=LOGGER, CA=
args.ca
, disable_check=args.disable_check, directory_url=args.directory_url, contact=args.contact)
File "/bin/acme_tiny", line 147, in get_crt
authorization = _poll_until_not(auth_url, ["pending"], "Error checking challenge status for {0}".format(domain))
File "/bin/acme_tiny", line 66, in _poll_until_not
result, _, _ = _do_request(url, err_msg=err_msg)
File "/bin/acme_tiny", line 45, in _do_request
raise ValueError("{0}:\nUrl: {1}\nData: {2}\nResponse Code: {3}\nResponse: {4}".format(err_msg, url, data, code, resp_data))
ValueError: Error checking challenge status for retool.bombardier.cloud:
Url:
https://acme-v02.api.letsencrypt.org/acme/authz-v3/337305159117
Data: None
Response Code: 503
Response: {"type": "urn:ietf:params:acme:error:rateLimited", "detail": "Service busy; retry later."}

Failed to sign retool.mydomain.cloud, is DNS set up properly?

Failed to obtain certs for retool.mydomain.cloud
2024/04/11 18:51:54 [notice] 163#163: signal process started
[cont-init.d] 20-setup: exited 0.
[cont-init.d] 30-set-docker-gen-status: executing...
[cont-init.d] 30-set-docker-gen-status: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Starting crond ...