A newer version of this documentation is available.

View Latest

Request Timeout

  • concept

Couchbase Server Enterprise Edition 7.6 reaches End of Life on March 31, 2027. Please upgrade to 8.0.x by following Upgrade, or contact Couchbase Support.

The request timed out because it could not be completed in the time given in the request (or the query engine timeout, if one was specified when starting the query engine).

Request
curl -v http://localhost:8093/query/service \
     -d 'statement=SELECT name FROM `travel-sample`.inventory.hotel LIMIT 1
       & timeout=1ms' \
     -u Administrator:password
Response
{
  "requestID": "f8f222ee-e402-4031-acf6-1f96612558c7",
  "signature": {
    "name": "json"
  },
  "results": [],
  "errors": [
    {
      "code": 1080,
      "msg": "Timeout 1ms exceeded",
      "retry": true
    }
  ],
  "status": "timeout",
  "metrics": {
    "elapsedTime": "18.472145ms",
    "executionTime": "18.283746ms",
    "resultCount": 0,
    "resultSize": 0,
    "serviceLoad": 12,
    "errorCount": 1
  }
}