I am using --dry-run flag since I am testing ansible scripts. The command:
certonly --webroot --webroot-path /var/www/certbot
--email {{ cert_email }} --cert-name {{ domain_name }}
-d {{ domain_name }} --rsa-key-size 4096
--agree-tos --force-renewal --dry-run
was working and suddenly stopped few days later.
When it was running correct I was getting (letsencrypt.log):
2020-04-19 14:38:25,212:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator webroot, Installer None
2020-04-19 14:38:25,219:DEBUG:certbot._internal.main:Picked account: <Account(RegistrationResource(body=Registration(key=None, contact=(), agreement=None, status=None, terms_of_service_agreed=None, only_return_existing=None, external_account_binding=None), uri='https://acme-staging-v02.api.letsencrypt.org/acme/acct/', new_authzr_uri=None, terms_of_service=None), , Meta(creation_dt=datetime.datetime(2020, 4, 19, 14, 27, 10, tzinfo=), creation_host=''))>
Now im getting:
2020-04-23 17:54:07,925:DEBUG:certbot._internal.plugins.selection:Selected authenticator <certbot._internal.plugins.webroot.Authenticator object at 0x7f3c420f2a90> and installer None
2020-04-23 17:54:07,925:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator webroot, Installer None
2020-04-23 17:54:07,962:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 11, in
load_entry_point('certbot', 'console_scripts', 'certbot')()
File "/opt/certbot/src/certbot/certbot/main.py", line 15, in main
return internal_main.main(cli_args)
File "/opt/certbot/src/certbot/certbot/_internal/main.py", line 1347, in main
return config.func(config, plugins)
File "/opt/certbot/src/certbot/certbot/_internal/main.py", line 1217, in certonly
le_client = _init_le_client(config, auth, installer)
File "/opt/certbot/src/certbot/certbot/_internal/main.py", line 603, in _init_le_client
acc, acme = _determine_account(config)
File "/opt/certbot/src/certbot/certbot/_internal/main.py", line 511, in _determine_account
acc = display_ops.choose_account(accounts)
File "/opt/certbot/src/certbot/certbot/display/ops.py", line 83, in choose_account
code, index = z_util(interfaces.IDisplay).menu(
File "/opt/certbot/src/certbot/certbot/display/util.py", line 153, in menu
code, selection = self._get_valid_int_ans(len(choices))
File "/opt/certbot/src/certbot/certbot/display/util.py", line 411, in _get_valid_int_ans
ans = input_with_timeout(input_msg)
File "/opt/certbot/src/certbot/certbot/display/util.py", line 85, in input_with_timeout
raise EOFError
Why is that happening?