Query: N1QL Query("access") took 49.609624065s

These timeouts are coming from the Query service within Couchbase Server.

I would check the query monitor, and query stats on the server side, and make sure your node sizing is appropriate for your use-case.