Ghost run error (ECONNRESET -104)

Hi, just updated the node from 14 to 16 and ghost to the latest version.

There is no issue with ghost doctor but I get the following error once I apply the previous config file to connect the external MYSQL Database. (Version 8.0)

The config file is like below:

{
  "url": "https://xxx.xxx.com",
  "server": {
    "port": 2368,
    "host": "127.0.0.1"
  },
  "database": {
    "client": "mysql",
    "connection": {
      "host": "asd-mysql-xxx.mysql.database.azure.com",
      "user": "asd@asd-ad-blog",
      "password": "***********",
      "database": "asd"
    },
    "pool": {
      "min": 2,
      "max": 200
    }
  },
  "mail": {
    "transport": "Direct",
    "options": {
      "service": "asd",
      "host": "smtp.asd.org",
      "port": "465",
      "secureConnection": true,
      "auth": {
        "user": "postmaster@asd.asd.com",
        "pass": "asd-dbdfb8ff-asd"
      }
    }
  },
  "storage": {
    "active": "ghost-azure-storage",
    "ghost-azure-storage": {
      "connectionString": "DefaultEndpointsProtocol=https;AccountName=asd;AccountKey=88888888+**************==;EndpointSuffix=core.windows.net",
      "container": "asd",
      "cdnUrl": "asd.asd.com",
      "useHttps": "true"
    }
  },
  "logging": {
    "transports": [
      "file",
      "stdout"
    ]
  },
  "process": "systemd",
  "paths": {
    "contentPath": "/var/www/ghost/content"
  },
  "bootstrap-socket": {
    "port": 8000,
    "host": "localhost"
  }
}

Try deleting
“bootstrap-socket”: {
“port”: 8000,
“host”: “localhost”
}

That fixed it for me. Possibly restart ghost.

In case you’re wondering if you need it, I read it’s an outdated fragment of code that is not used anymore in newer versions of Ghost. Maybe somebody here can confirm.

1 Like