Errors & Exceptions Reference
The standardized error codes returned by the Couchbase C SDK, from cloud connection to sub-document.
Unresolved include directive in modules/ref/pages/error-codes.adoc - include::6.5@sdk:shared:partial$error-ref.adoc[]
Shared Error Definitions
Unresolved include directive in modules/ref/pages/error-codes.adoc - include::6.5@sdk:shared:partial$error-ref.adoc[]
KeyValue Error Definitions
Unresolved include directive in modules/ref/pages/error-codes.adoc - include::6.5@sdk:shared:partial$error-ref.adoc[]
Query Error Definitions
Unresolved include directive in modules/ref/pages/error-codes.adoc - include::6.5@sdk:shared:partial$error-ref.adoc[]
Analytics Error Definitions
Unresolved include directive in modules/ref/pages/error-codes.adoc - include::6.5@sdk:shared:partial$error-ref.adoc[]
Search Error Definition
Unresolved include directive in modules/ref/pages/error-codes.adoc - include::6.5@sdk:shared:partial$error-ref.adoc[]
View Error Definitions
Unresolved include directive in modules/ref/pages/error-codes.adoc - include::6.5@sdk:shared:partial$error-ref.adoc[]
Management API Error Definitions
Unresolved include directive in modules/ref/pages/error-codes.adoc - include::6.5@sdk:shared:partial$error-ref.adoc[]
Field-Level Encryption Error Definitions
Unresolved include directive in modules/ref/pages/error-codes.adoc - include::6.5@sdk:shared:partial$error-ref.adoc[]
Connecting to Cloud
Unresolved include directive in modules/ref/pages/error-codes.adoc - include::6.5@sdk:shared:partial$error-ref.adoc[]
54ms [I5afdccc413f7d46] {81150/307} [ERROR] (connection - L:503) <8676842d-4e8b-4c5b-a44f-e0886f8c0bc1.dp.cloud.couchbase.com:11207> (SOCK=a683f97effd6323c) Couldn't look up 8676842d-4e8b-4c5b-a44f-e0886f8c0bc1.dp.cloud.couchbase.com (nodename nor servname provided, or not known) [EAI=8]
54ms [I5afdccc413f7d46] {81150/307} [ERROR] (connection - L:164) <8676842d-4e8b-4c5b-a44f-e0886f8c0bc1.dp.cloud.couchbase.com:11207> (SOCK=a683f97effd6323c) Failed to establish connection: LCB_ERR_UNKNOWN_HOST (1049), os errno=0
54ms [I5afdccc413f7d46] {81150/307} [DEBUG] (lcbio_mgr - L:349) <8676842d-4e8b-4c5b-a44f-e0886f8c0bc1.dp.cloud.couchbase.com:11207> (HE=0x7fa82f4252e0) Received result for I=0x7fa82f426d40,C=0x0; E=0x419
54ms [I5afdccc413f7d46] {81150/307} [ERROR] (cccp - L:171) <NOHOST:NOPORT> (CTX=0x0,) Could not get configuration: LCB_ERR_UNKNOWN_HOST (1049)
54ms [I5afdccc413f7d46] {81150/307} [INFO] (confmon - L:196) Provider 'CCCP' failed: LCB_ERR_UNKNOWN_HOST (1049)
54ms [I5afdccc413f7d46] {81150/307} [DEBUG] (confmon - L:240) Will try next provider in 0us
54ms [I5afdccc413f7d46] {81150/307} [TRACE] (confmon - L:285) Attempting to retrieve cluster map via HTTP
54ms [I5afdccc413f7d46] {81150/307} [TRACE] (htconfig - L:359) Starting HTTP Configuration Provider 0x7fa82f406730
54ms [I5afdccc413f7d46] {81150/307} [INFO] (connection - L:487) <8676842d-4e8b-4c5b-a44f-e0886f8c0bc1.dp.cloud.couchbase.com:18091> (SOCK=385c8688a482c7bd) Starting. Timeout=2000000us
55ms [I5afdccc413f7d46] {81150/307} [ERROR] (connection - L:503) <8676842d-4e8b-4c5b-a44f-e0886f8c0bc1.dp.cloud.couchbase.com:18091> (SOCK=385c8688a482c7bd) Couldn't look up 8676842d-4e8b-4c5b-a44f-e0886f8c0bc1.dp.cloud.couchbase.com (nodename nor servname provided, or not known) [EAI=8]
55ms [I5afdccc413f7d46] {81150/307} [ERROR] (connection - L:164) <8676842d-4e8b-4c5b-a44f-e0886f8c0bc1.dp.cloud.couchbase.com:18091> (SOCK=385c8688a482c7bd) Failed to establish connection: LCB_ERR_UNKNOWN_HOST (1049), os errno=0
55ms [I5afdccc413f7d46] {81150/307} [ERROR] (htconfig - L:309) Connection to REST API failed with LCB_ERR_UNKNOWN_HOST (1049) (os errno = 0)
55ms [I5afdccc413f7d46] {81150/307} [INFO] (confmon - L:196) Provider 'HTTP' failed: LCB_ERR_UNKNOWN_HOST (1049)
55ms [I5afdccc413f7d46] {81150/307} [TRACE] (confmon - L:245) Maximum provider reached. Resetting index
55ms [I5afdccc413f7d46] {81150/307} [ERROR] (bootstrap - L:196) Failed to bootstrap client=0x7fa82f405cd0. Error=LCB_ERR_NO_MATCHING_SERVER (1010) (Last=LCB_ERR_UNKNOWN_HOST (1049)), Message=No more bootstrap providers remain
Couldn't bootstrap from cluster. Received code 0x419 (LCB_ERR_UNKNOWN_HOST (1049))
Further Reading
-
Discussion document on handling exceptions.
-
Further reference material in the API Guide.