Failed to send "count" command with database "kinkysafe-www": socket error or timeout

error: 4
file: /var/www/html/kinkysafe-www/libs/composer/vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php
line: 92
{
    "file": "/var/www/html/kinkysafe-www/libs/composer/vendor/alcaeus/mongo-php-adapter/lib/Mongo/MongoCursor.php",
    "line": 150,
    "function": "toLegacy",
    "class": "Alcaeus\\MongoDbAdapter\\ExceptionConverter",
    "type": "::"
}
{
    "file": "/var/www/html/kinkysafe-www/class/Tools/Users.php",
    "line": 3418,
    "function": "count",
    "class": "MongoCursor",
    "type": "->"
}
{
    "file": "/var/www/html/kinkysafe-www/profile.php",
    "line": 17,
    "function": "nick_to_user_id",
    "class": "Tools_Users",
    "type": "::"
}
{
    "file": "/var/www/html/kinkysafe-www/__catchall.php",
    "line": 28,
    "args": [
        "/var/www/html/kinkysafe-www/profile.php"
    ],
    "function": "include_once"
}