Unable to setup Onlyoffice: Could not detect any host

Hi.
I’ve installed OO as system packages on Ubuntu 20. I configured local.json this way:

  "services": {
    "CoAuthoring": {
...
      "token": {
        "enable": {
          "request": {
            "inbox": true,
            "outbox": true
          },
          "browser": true
        },
        "inbox": {
          "inBody": false
        },
        "outbox": {
          "inBody": false
        }
      },
      "secret": {
        "inbox": {
          "string": "abc"
        },
        "outbox": {
          "string": "abc"
        },
        "session": {
          "string": "abc"
        }
      }
  },

Unfortunately I still get Could not detect any host when checking config. I did search around but couldn’t find where the error comes from… I found this working config with Docker, I think I copied all the configs but still getting that error.

thanks