Couchbase lite: Got LiteCore error: WebSocket error 404 Object Not Found

This means you don’t have enough nodes in your cluster to satisfy the index replica requirements of your Sync Gateway setup (num_index_replicas in your database setting). The default value is 1 which means you need one extra node to serve as a backup for the index service. Change it to 0 if you only have one node.