Having error in renewing certificate

There is error while using command sudo bench renew-lets-encrypt. how to resolve it

Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator standalone, Installer None
Attempting to renew cert (erp.jmv.co.in) from /etc/letsencrypt/renewal/erp.jmv.co.in.conf produced an unexpected error: Requesting acme-v02.api.letsencrypt.org/directory: No route to host. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/erp.jmv.co.in/fullchain.pem (failure)


All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/erp.jmv.co.in/fullchain.pem (failure)


1 renew failure(s), 0 parse failure(s)
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/opt/bench/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/opt/bench/bench-repo/bench/commands/utils.py”, line 89, in renew_lets_encrypt
renew_certs()
File “/opt/bench/bench-repo/bench/config/lets_encrypt.py”, line 117, in renew_certs
exec_cmd(“{path} renew”.format(path=get_certbot_path()))
File “/opt/bench/bench-repo/bench/utils.py”, line 159, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: /opt/certbot-auto renew

This suggests you have a network path problem Error: Requesting acme-v01.api.letsencrypt.org/directory: No route to host. Skipping - Help - Let's Encrypt Community Support

edit: Please don’t double post Error in certificate renewing

edit: Use this to learn to troubleshoot? 404 Not Found | Certbot