Connection reset by peer

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command: /usr/bin/certbot renew

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
"identifier": {
"type": "dns",
"value": ""
"status": "invalid",
"expires": "2022-04-06T09:35:01Z",
"challenges": [
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:ietf:params:acme:error:connection",
"detail": "Fetching Connection reset by peer",
"status": 400

Processing /etc/letsencrypt/renewal/

Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator nginx, Installer nginx
Starting new HTTPS connection (1):
Renewing an existing certificate for
Performing the following challenges:
http-01 challenge for
Waiting for verification...
Challenge failed for domain
http-01 challenge for
Cleaning up challenges
^CExiting due to user request.


  • The following errors were reported by the server:

    Type: connection
    Detail: Fetching
    Connection reset by peer

    To fix these errors, please make sure that your domain name was
    entered correctly and the DNS A/AAAA record(s) for that domain
    contain(s) the right IP address. Additionally, please check that
    your computer has a publicly routable IP address and that no
    firewalls are preventing the server from communicating with the
    client. If you're using the webroot plugin, you should also verify
    that you are serving files from the webroot path you provided.
    Você tem mensagem nova de correio em /var/spool/mail/root
    My web server is (include version):
    The operating system my web server runs on is (include version):
    CentOS Linux release 7.9.2009 (Core

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
certbot --version

Can you open this URL? (It should either show something or a 404 error)

Is your firewall blocking connection from outside Brazil?

The validation servers are in the US and Europe.


I get 403 Forbidden:

curl -Ii
HTTP/1.1 403 Forbidden
Server: nginx/1.20.1
Date: Wed, 30 Mar 2022 12:52:35 GMT
Content-Type: text/html
Content-Length: 153
Connection: keep-alive

I got connection reset by peer (in korea) so I guess some geoblocking there?

curl -v
*   Trying
* Connected to ( port 80 (#0)
> GET /.well-known/acme-challenge/wCRYfIcF_SuR_lPlGg_DgKUqHtAo1VuT8keUulv4HGw HTTP/1.1
> Host:
> User-Agent: curl/7.68.0
> Accept: */*
* Recv failure: Connection reset by peer
* Closing connection 0
curl: (56) Recv failure: Connection reset by peer

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.