{"id":11766,"date":"2021-09-10T00:00:25","date_gmt":"2021-09-10T07:00:25","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=11766"},"modified":"2025-06-13T21:03:51","modified_gmt":"2025-06-14T04:03:51","slug":"troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/pt\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/","title":{"rendered":"Como solucionar problemas de conex\u00e3o do SDK usando o SDK Doctor e os endere\u00e7os alternativos do Couchbase"},"content":{"rendered":"<p><strong>\u00c9 uma experi\u00eancia comum<\/strong> se deparar com erros de conex\u00e3o de rede quando estiver desenvolvendo um aplicativo, principalmente se estiver se conectando do SDK do seu computador local a um cluster remoto.<\/p>\n<p>Seu SDK n\u00e3o est\u00e1 conectado? \u00c9 prov\u00e1vel que voc\u00ea se depare com situa\u00e7\u00f5es em que seu aplicativo pode se conectar ao servidor, mas voc\u00ea recebe erros relacionados \u00e0 conex\u00e3o de rede ou aos endere\u00e7os IP entre os n\u00f3s ou seu aplicativo e <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/products\/developer-sdk\/?ref=blog\" target=\"_blank\" rel=\"noopener\">o SDK do Couchbase<\/a>.<\/p>\n<p>Este artigo discute como voc\u00ea pode solucionar e corrigir esses erros. O exemplo que apresentaremos a seguir cria um cluster no Azure para demonstrar as condi\u00e7\u00f5es iniciais, mas tamb\u00e9m deve ser aplic\u00e1vel a outras instala\u00e7\u00f5es.<\/p>\n<p>Examinaremos cada etapa para reproduzir o erro. Primeiro, instalaremos o <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/products\/capella\/\" target=\"_blank\" rel=\"noopener\">Couchbase<\/a> no Azure, execute o SDK Doctor para ver como o erro se manifesta, atualize os endere\u00e7os alternativos e, por fim, execute o SDK Doctor novamente para ver a resposta bem-sucedida.<\/p>\n<p>Muito bem, vamos nos aprofundar.<\/p>\n<h2>Instalar seu cluster do Couchbase no Azure<\/h2>\n<p>Aqui est\u00e3o as etapas para instalar um cluster do Couchbase no Azure.<\/p>\n<ol>\n<li>Fa\u00e7a login em <a href=\"https:\/\/azuremarketplace.microsoft.com\/en-us\/marketplace\/?ref=hello-from-couchbase\" target=\"_blank\" rel=\"noopener\">o Microsoft Azure Marketplace<\/a><\/li>\n<li>Busca por Couchbase<\/li>\n<li>Escolha o Couchbase Server e o Sync Gateway<\/li>\n<li>Clique em Get It Now<\/li>\n<li>Escolha BYOL<\/li>\n<li>Clique em Continuar<\/li>\n<li>Clique em Criar<\/li>\n<li>Preencher o formul\u00e1rio<\/li>\n<li>Admin: `asdf88495` &lt; Update this as appropriate<\/li>\n<li>Password: `Password1!@#$` &lt; Update this as appropriate<\/li>\n<li>Preencher os formul\u00e1rios de configura\u00e7\u00e3o conforme apropriado<\/li>\n<li>Clique em Criar<\/li>\n<\/ol>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<p>O processo \u00e9 executado e tem a seguinte apar\u00eancia ap\u00f3s a conclus\u00e3o de todas as etapas:<\/p>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11767 size-large\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2021\/08\/image4-1024x426.png\" alt=\"Azure completed process after adding Couchbase\" width=\"900\" height=\"374\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image4-1024x426.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image4-300x125.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image4-768x319.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image4-20x8.png 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image4.png 1176w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<h2>Atualizar regras de firewall<\/h2>\n<p>\u00c9 prov\u00e1vel que voc\u00ea precise atualizar as regras de firewall para permitir que seu computador local se conecte ao cluster remoto do Azure. Aqui est\u00e3o as etapas:<\/p>\n<p><strong>1.<\/strong> Ir para o grupo de recursos<\/p>\n<p><strong>2.<\/strong> Clique em Virtual machine scale set<\/p>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11769 size-large\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2021\/08\/image2-1024x415.png\" alt=\"Microsoft Azure virtual machine scale set\" width=\"900\" height=\"365\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image2-1024x415.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image2-300x122.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image2-768x311.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image2-20x8.png 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image2-1320x535.png 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image2.png 1463w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<p><strong>3.<\/strong> Clique em Rede<\/p>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11770 size-full\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2021\/08\/image3.png\" alt=\"Couchbase on Azure Networking option\" width=\"304\" height=\"567\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image3.png 304w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image3-161x300.png 161w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image3-300x560.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image3-11x20.png 11w\" sizes=\"auto, (max-width: 304px) 100vw, 304px\" \/><\/p>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<p><strong>4.<\/strong> Clique em Add inbound port rule (Adicionar regra de porta de entrada)<\/p>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11772 size-large\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2021\/08\/image6-1024x304.png\" alt=\"Azure add inbound port rule button\" width=\"900\" height=\"267\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image6-1024x304.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image6-300x89.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image6-768x228.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image6-20x6.png 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image6-1320x392.png 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image6.png 1416w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<p><strong>5.<\/strong> Atualize a configura\u00e7\u00e3o para usar as informa\u00e7\u00f5es de sua rede local. <em>Aviso:<\/em> Isso \u00e9 muito aberto para os fins desta demonstra\u00e7\u00e3o; voc\u00ea deve seguir suas diretrizes de seguran\u00e7a ao configurar o firewall.<\/p>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11768 size-full\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2021\/08\/image1.png\" alt=\"Local network firewall configuration\" width=\"563\" height=\"915\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image1.png 563w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image1-185x300.png 185w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image1-300x488.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image1-12x20.png 12w\" sizes=\"auto, (max-width: 563px) 100vw, 563px\" \/><\/p>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<h2>Confirme se o Couchbase est\u00e1 funcionando<\/h2>\n<p>Sua pr\u00f3xima etapa importante \u00e9 confirmar que o Couchbase est\u00e1 funcionando. Veja como fazer isso:<\/p>\n<p><strong>1.<\/strong> V\u00e1 para inst\u00e2ncias para obter um endere\u00e7o IP e conecte-se ao painel de controle do Couchbase.<\/p>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11771 size-medium_large\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2021\/08\/image5-768x369.png\" alt=\"Couchbase control panel using IP address\" width=\"768\" height=\"369\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image5-768x369.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image5-300x144.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image5-20x10.png 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image5.png 912w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/p>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<p><strong>2.<\/strong> Obtenha o endere\u00e7o IP de um de seus servidores.<\/p>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11773 size-medium_large\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2021\/08\/image7-768x235.png\" alt=\"Couchbase server IP address\" width=\"768\" height=\"235\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image7-768x235.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image7-300x92.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image7-1024x314.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image7-20x6.png 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image7-1320x404.png 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/image7.png 1339w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/p>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<p><strong>3.<\/strong> In this example, the login is `https:\/\/40.80.151.197:8091\/ui\/index.html`.<\/p>\n<p><strong>4.<\/strong> Fa\u00e7a login com as informa\u00e7\u00f5es usadas para criar a conta de administrador na se\u00e7\u00e3o \"Instalar o cluster do Couchbase no Azure\" acima. Foi aqui que voc\u00ea criou o cluster no Azure e preencheu o formul\u00e1rio.<\/p>\n<p><strong>5.<\/strong> No Couchbase, adicione dados de amostra para usar nesta demonstra\u00e7\u00e3o. Siga a se\u00e7\u00e3o <a href=\"https:\/\/docs.couchbase.com\/server\/current\/manage\/manage-settings\/install-sample-buckets.html?ref=blog\" target=\"_blank\" rel=\"noopener\">instru\u00e7\u00f5es na documenta\u00e7\u00e3o do Couchbase para adicionar dados de buckets de amostra<\/a>.<\/p>\n<h2>Apresentando o SDK Doctor<\/h2>\n<p>O Couchbase SDK doctor \u00e9 uma ferramenta para diagnosticar problemas de conectividade no lado do servidor do aplicativo com o cluster do Couchbase. Ele faz as mesmas conex\u00f5es com o <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/products\/server\/?ref=blog\" target=\"_blank\" rel=\"noopener\">Servidor Couchbase<\/a> que os SDKs do Couchbase fazem durante a inicializa\u00e7\u00e3o e, em seguida, relata o estado das conex\u00f5es feitas, fornecendo informa\u00e7\u00f5es de diagn\u00f3stico que o ajudam a resolver problemas de rede complexos.<\/p>\n<p>Aqui est\u00e1 <a href=\"https:\/\/docs.couchbase.com\/server\/current\/sdk\/sdk-doctor.html?ref=blog\" target=\"_blank\" rel=\"noopener\">o conjunto completo de instru\u00e7\u00f5es para usar o SDK Doctor com o Couchbase Server<\/a>.<\/p>\n<h2>1. Executando o SDK Doctor para detectar erros<\/h2>\n<p>Seguindo as instru\u00e7\u00f5es acima, onde voc\u00ea coletou o endere\u00e7o IP do seu cluster do Couchbase, obtenha tamb\u00e9m os endere\u00e7os IP de cada um dos outros n\u00f3s do seu cluster. Voc\u00ea usar\u00e1 os endere\u00e7os IP na string de conex\u00e3o para o SDK Doctor.<\/p>\n<p>O comando abaixo usa os endere\u00e7os IP dos n\u00f3s em seu cluster, al\u00e9m do nome do bucket de dados de amostra. Voc\u00ea precisar\u00e1 atualizar essas informa\u00e7\u00f5es com base nos IPs do seu pr\u00f3prio cluster e no bucket de amostra espec\u00edfico que instalou.<\/p>\n<p>Agora, execute o SDK Doctor.<\/p>\n<p>You\u2019ll probably get a bunch of error messages \u2013 as you can see below \u2013 especially if you are running SDK Doctor from a local computer and not on the same network as the nodes\/cluster\/VMs. You\u2019ll see the `ERROR` and `Failed to connect` messages. Notice the IP addresses are the internal 10 addresses, not the 40 or 13.<\/p>\n<p>Talvez seja necess\u00e1rio clicar duas vezes no exemplo de c\u00f3digo abaixo para ver a sa\u00edda completa (dependendo do seu dispositivo).<\/p>\n<pre class=\"toolbar:1 lang:default decode:true\">.\\sdk-doctor-windows.exe diagnose couchbase:\/\/40.80.151.197,40.80.146.52,13.82.230.238\/beer-sample  -u asdf88495 -p Password1!@#$\r\n\r\n|====================================================================|\r\n|          ___ ___  _  __   ___   ___   ___ _____ ___  ___           |\r\n|         \/ __|   \\| |\/ \/__|   \\ \/ _ \\ \/ __|_   _\/ _ \\| _ \\          |\r\n|         \\__ \\ |) | ' &lt;___| |) | (_) | (__  | || (_) |   \/          |\r\n|         |___\/___\/|_|\\_\\  |___\/ \\___\/ \\___| |_| \\___\/|_|_\\          |\r\n|                                                                    |\r\n|====================================================================|\r\n\r\nNote: Diagnostics can only provide accurate results when your cluster\r\n is in a stable state.  Active rebalancing and other cluster configuration\r\n changes can cause the output of the doctor to be inconsistent or in the\r\n worst cases, completely incorrect.\r\n\r\n13:52:58.412 INFO \u25b6 Parsing connection string `couchbase:\/\/40.80.151.197,40.80.146.52,13.82.230.238\/beer-sample`\r\n13:52:58.413 INFO \u25b6 Connection string identifies the following CCCP endpoints:\r\n13:52:58.413 INFO \u25b6   1. 40.80.151.197:11210\r\n13:52:58.414 INFO \u25b6   2. 40.80.146.52:11210\r\n13:52:58.414 INFO \u25b6   3. 13.82.230.238:11210\r\n13:52:58.414 INFO \u25b6 Connection string identifies the following HTTP endpoints:\r\n13:52:58.414 INFO \u25b6   1. 40.80.151.197:8091\r\n13:52:58.414 INFO \u25b6   2. 40.80.146.52:8091\r\n13:52:58.414 INFO \u25b6   3. 13.82.230.238:8091\r\n13:52:58.415 INFO \u25b6 Connection string specifies bucket `beer-sample`\r\n13:52:58.415 INFO \u25b6 Performing DNS lookup for host `40.80.151.197`\r\n13:52:58.415 INFO \u25b6 Performing DNS lookup for host `40.80.146.52`\r\n13:52:58.415 INFO \u25b6 Performing DNS lookup for host `13.82.230.238`\r\n13:52:58.415 INFO \u25b6 Attempting to connect to cluster via CCCP\r\n13:52:58.416 INFO \u25b6 Attempting to fetch config via cccp from `40.80.151.197:11210`\r\n13:52:58.631 INFO \u25b6 Attempting to fetch config via cccp from `40.80.146.52:11210`\r\n13:52:58.846 INFO \u25b6 Attempting to fetch config via cccp from `13.82.230.238:11210`\r\n13:52:59.076 WARN \u25b6 Bootstrap host `40.80.151.197` is not using the canonical node hostname of `10.0.0.4`.  This is not necessarily an error, but has been known to result in strange and challenging to diagnose errors when DNS entries are reconfigured.\r\n13:52:59.077 WARN \u25b6 Bootstrap host `40.80.146.52` is not using the canonical node hostname of `10.0.0.5`.  This is not neccessarily an error, but has been known to result in strange and challenging to diagnose errors when DNS entries are reconfigured.\r\n13:52:59.079 WARN \u25b6 Bootstrap host `13.82.230.238` is not using the canonical node hostname of `10.0.0.6`.  This is not neccessarily an error, but has been known to result in strange and challenging to diagnose errors when DNS entries are reconfigured.\r\n13:52:59.080 INFO \u25b6 Selected the following network type: default\r\n13:52:59.080 INFO \u25b6 Identified the following nodes:\r\n13:52:59.081 INFO \u25b6   [0] 10.0.0.4\r\n13:52:59.081 INFO \u25b6                indexScan:  9101,      indexStreamInit:  9103,   indexStreamCatchup:  9104\r\n13:52:59.081 INFO \u25b6                    kvSSL: 11207,            projector:  9999,                 mgmt:  8091\r\n13:52:59.082 INFO \u25b6                  mgmtSSL: 18091,           indexAdmin:  9100,                 n1ql:  8093\r\n13:52:59.082 INFO \u25b6                indexHttp:  9102,           indexHttps: 19102,                   kv: 11210\r\n13:52:59.083 INFO \u25b6                     cbas:  8095,          eventingSSL: 18096,           ftsGRPCSSL: 19130\r\n13:52:59.083 INFO \u25b6                   ftsSSL: 18094,              ftsGRPC:  9130,     indexStreamMaint:  9105\r\n13:52:59.084 INFO \u25b6                     capi:  8092,              n1qlSSL: 18093,              cbasSSL: 18095\r\n13:52:59.084 INFO \u25b6            eventingDebug:  9140,                  fts:  8094,    eventingAdminPort:  8096\r\n13:52:59.085 INFO \u25b6                  capiSSL: 18092\r\n13:52:59.085 INFO \u25b6   [1] 10.0.0.5\r\n13:52:59.086 INFO \u25b6               ftsGRPCSSL: 19130,           indexHttps: 19102,                 cbas:  8095\r\n13:52:59.086 INFO \u25b6        eventingAdminPort:  8096,        eventingDebug:  9140,           indexAdmin:  9100\r\n13:52:59.087 INFO \u25b6          indexStreamInit:  9103,     indexStreamMaint:  9105,              mgmtSSL: 18091\r\n13:52:59.087 INFO \u25b6                  cbasSSL: 18095,               ftsSSL: 18094,                 n1ql:  8093\r\n13:52:59.088 INFO \u25b6                       kv: 11210,                 capi:  8092,              capiSSL: 18092\r\n13:52:59.088 INFO \u25b6                  ftsGRPC:  9130,            indexScan:  9101,            indexHttp:  9102\r\n13:52:59.089 INFO \u25b6       indexStreamCatchup:  9104,                kvSSL: 11207,                 mgmt:  8091\r\n13:52:59.089 INFO \u25b6              eventingSSL: 18096,                  fts:  8094,            projector:  9999\r\n13:52:59.089 INFO \u25b6                  n1qlSSL: 18093\r\n13:52:59.090 INFO \u25b6   [2] 10.0.0.6\r\n13:52:59.090 INFO \u25b6                  mgmtSSL: 18091,                 cbas:  8095,              cbasSSL: 18095\r\n13:52:59.091 INFO \u25b6        eventingAdminPort:  8096,               ftsSSL: 18094,           indexAdmin:  9100\r\n13:52:59.091 INFO \u25b6       indexStreamCatchup:  9104,                 capi:  8092,              ftsGRPC:  9130\r\n13:52:59.092 INFO \u25b6                indexHttp:  9102,     indexStreamMaint:  9105,                kvSSL: 11207\r\n13:52:59.092 INFO \u25b6                projector:  9999,        eventingDebug:  9140,                  fts:  8094\r\n13:52:59.093 INFO \u25b6               ftsGRPCSSL: 19130,      indexStreamInit:  9103,                 mgmt:  8091\r\n13:52:59.093 INFO \u25b6              eventingSSL: 18096,            indexScan:  9101,           indexHttps: 19102\r\n13:52:59.093 INFO \u25b6                       kv: 11210,              capiSSL: 18092,                 n1ql:  8093\r\n13:52:59.094 INFO \u25b6                  n1qlSSL: 18093\r\n13:52:59.095 INFO \u25b6 Fetching config from `https:\/\/10.0.0.4:8091`\r\n13:53:01.096 INFO \u25b6 Failed to retreive cluster information (error: Get \"https:\/\/10.0.0.4:8091\/pools\/default\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n13:53:03.097 ERRO \u25b6 Failed to connect to Key Value service at `10.0.0.4:11210` (error: dial tcp 10.0.0.4:11210: i\/o timeout)\r\n13:53:05.098 ERRO \u25b6 Failed to connect to Management service at `10.0.0.4:8091` (error: Get \"https:\/\/10.0.0.4:8091\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n13:53:07.099 ERRO \u25b6 Failed to connect to Views service at `10.0.0.4:8092` (error: Get \"https:\/\/10.0.0.4:8092\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n13:53:09.101 ERRO \u25b6 Failed to connect to Query service at `10.0.0.4:8093` (error: Get \"https:\/\/10.0.0.4:8093\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n13:53:11.109 ERRO \u25b6 Failed to connect to Search service at `10.0.0.4:8094` (error: Get \"https:\/\/10.0.0.4:8094\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n13:53:13.110 ERRO \u25b6 Failed to connect to Analytics service at `10.0.0.4:8095` (error: Get \"https:\/\/10.0.0.4:8095\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n13:53:15.110 ERRO \u25b6 Failed to connect to Key Value service at `10.0.0.5:11210` (error: dial tcp 10.0.0.5:11210: i\/o timeout)\r\n13:53:17.119 ERRO \u25b6 Failed to connect to Management service at `10.0.0.5:8091` (error: Get \"https:\/\/10.0.0.5:8091\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n13:53:19.119 ERRO \u25b6 Failed to connect to Views service at `10.0.0.5:8092` (error: Get \"https:\/\/10.0.0.5:8092\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n13:53:21.120 ERRO \u25b6 Failed to connect to Query service at `10.0.0.5:8093` (error: Get \"https:\/\/10.0.0.5:8093\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n13:53:23.120 ERRO \u25b6 Failed to connect to Search service at `10.0.0.5:8094` (error: Get \"https:\/\/10.0.0.5:8094\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n13:53:25.121 ERRO \u25b6 Failed to connect to Analytics service at `10.0.0.5:8095` (error: Get \"https:\/\/10.0.0.5:8095\/\": dial tcp 10.0.0.5:8095: i\/o timeout (Client.Timeout exceeded while awaiting headers))\r\n13:53:27.121 ERRO \u25b6 Failed to connect to Key Value service at `10.0.0.6:11210` (error: dial tcp 10.0.0.6:11210: i\/o timeout)\r\n13:53:29.122 ERRO \u25b6 Failed to connect to Management service at `10.0.0.6:8091` (error: Get \"https:\/\/10.0.0.6:8091\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n13:53:31.123 ERRO \u25b6 Failed to connect to Views service at `10.0.0.6:8092` (error: Get \"https:\/\/10.0.0.6:8092\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n13:53:33.124 ERRO \u25b6 Failed to connect to Query service at `10.0.0.6:8093` (error: Get \"https:\/\/10.0.0.6:8093\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n13:53:35.124 ERRO \u25b6 Failed to connect to Search service at `10.0.0.6:8094` (error: Get \"https:\/\/10.0.0.6:8094\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n13:53:37.125 ERRO \u25b6 Failed to connect to Analytics service at `10.0.0.6:8095` (error: Get \"https:\/\/10.0.0.6:8095\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n13:53:39.126 WARN \u25b6 Failed to perform KV connection performance analysis on `10.0.0.4:11210` (error: %!d(string=dial tcp 10.0.0.4:11210: i\/o timeout))\r\n13:53:41.127 WARN \u25b6 Failed to perform KV connection performance analysis on `10.0.0.5:11210` (error: %!d(string=dial tcp 10.0.0.5:11210: i\/o timeout))\r\n13:53:43.128 WARN \u25b6 Failed to perform KV connection performance analysis on `10.0.0.6:11210` (error: %!d(string=dial tcp 10.0.0.6:11210: i\/o timeout))\r\n13:53:43.128 INFO \u25b6 Diagnostics completed\r\n\r\nSummary:\r\n[WARN] Bootstrap host `40.80.151.197` is not using the canonical node hostname of `10.0.0.4`.  This is not neccessarily an error, but has been known to result in strange and challenging to diagnose errors when DNS entries are reconfigured.\r\n[WARN] Bootstrap host `40.80.146.52` is not using the canonical node hostname of `10.0.0.5`.  This is not neccessarily an error, but has been known to result in strange and challenging to diagnose errors when DNS entries are reconfigured.\r\n[WARN] Bootstrap host `13.82.230.238` is not using the canonical node hostname of `10.0.0.6`.  This is not neccessarily an error, but has been known to result in strange and challenging to diagnose errors when DNS entries are reconfigured.\r\n[WARN] Failed to perform KV connection performance analysis on `10.0.0.4:11210` (error: %!d(string=dial tcp 10.0.0.4:11210: i\/o timeout))\r\n[WARN] Failed to perform KV connection performance analysis on `10.0.0.5:11210` (error: %!d(string=dial tcp 10.0.0.5:11210: i\/o timeout))\r\n[WARN] Failed to perform KV connection performance analysis on `10.0.0.6:11210` (error: %!d(string=dial tcp 10.0.0.6:11210: i\/o timeout))\r\n[ERRO] Failed to connect to Key Value service at `10.0.0.4:11210` (error: dial tcp 10.0.0.4:11210: i\/o timeout)\r\n[ERRO] Failed to connect to Management service at `10.0.0.4:8091` (error: Get \"https:\/\/10.0.0.4:8091\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n[ERRO] Failed to connect to Views service at `10.0.0.4:8092` (error: Get \"https:\/\/10.0.0.4:8092\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n[ERRO] Failed to connect to Query service at `10.0.0.4:8093` (error: Get \"https:\/\/10.0.0.4:8093\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n[ERRO] Failed to connect to Search service at `10.0.0.4:8094` (error: Get \"https:\/\/10.0.0.4:8094\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n[ERRO] Failed to connect to Analytics service at `10.0.0.4:8095` (error: Get \"https:\/\/10.0.0.4:8095\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n[ERRO] Failed to connect to Key Value service at `10.0.0.5:11210` (error: dial tcp 10.0.0.5:11210: i\/o timeout)\r\n[ERRO] Failed to connect to Management service at `10.0.0.5:8091` (error: Get \"https:\/\/10.0.0.5:8091\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n[ERRO] Failed to connect to Views service at `10.0.0.5:8092` (error: Get \"https:\/\/10.0.0.5:8092\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n[ERRO] Failed to connect to Query service at `10.0.0.5:8093` (error: Get \"https:\/\/10.0.0.5:8093\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n[ERRO] Failed to connect to Search service at `10.0.0.5:8094` (error: Get \"https:\/\/10.0.0.5:8094\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n[ERRO] Failed to connect to Analytics service at `10.0.0.5:8095` (error: Get \"https:\/\/10.0.0.5:8095\/\": dial tcp 10.0.0.5:8095: i\/o timeout (Client.Timeout exceeded while awaiting headers))\r\n[ERRO] Failed to connect to Key Value service at `10.0.0.6:11210` (error: dial tcp 10.0.0.6:11210: i\/o timeout)\r\n[ERRO] Failed to connect to Management service at `10.0.0.6:8091` (error: Get \"https:\/\/10.0.0.6:8091\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n[ERRO] Failed to connect to Views service at `10.0.0.6:8092` (error: Get \"https:\/\/10.0.0.6:8092\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n[ERRO] Failed to connect to Query service at `10.0.0.6:8093` (error: Get \"https:\/\/10.0.0.6:8093\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n[ERRO] Failed to connect to Search service at `10.0.0.6:8094` (error: Get \"https:\/\/10.0.0.6:8094\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n[ERRO] Failed to connect to Analytics service at `10.0.0.6:8095` (error: Get \"https:\/\/10.0.0.6:8095\/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers))\r\n\r\nFound multiple issues, see listing above.\r\n<\/pre>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<h2>Usando o endere\u00e7o alternativo do Couchbase<\/h2>\n<p>O Couchbase Server permite que um endere\u00e7o alternativo seja atribu\u00eddo a qualquer n\u00f3 de cluster individual e que um n\u00famero de porta alternativo seja atribu\u00eddo a qualquer servi\u00e7o executado nesse n\u00f3.<\/p>\n<p>A atribui\u00e7\u00e3o de endere\u00e7os e n\u00fameros de porta alternativos, que pode ser realizada por meio da CLI e da API REST, pode facilitar a comunica\u00e7\u00e3o com aplicativos externos que n\u00e3o t\u00eam permiss\u00e3o para entrar em contato direto com os n\u00f3s de um cluster. No entanto, eles podem ter acesso a um roteador ou outra entidade em rede que forne\u00e7a endere\u00e7os vis\u00edveis externamente em nome dos n\u00f3s.<\/p>\n<p>Mergulhe no <a href=\"https:\/\/docs.couchbase.com\/server\/current\/learn\/clusters-and-availability\/connectivity.html?ref=blog#alternate-addresses\" target=\"_blank\" rel=\"noopener\">a documenta\u00e7\u00e3o do Couchbase sobre o uso de endere\u00e7os alternativos para saber mais<\/a>.<\/p>\n<h2>Adicionar o endere\u00e7o alternativo do Couchbase<\/h2>\n<p>H\u00e1 uma chamada REST para atualizar o endere\u00e7o alternativo de seu cluster do Couchbase. (Para obter mais informa\u00e7\u00f5es, <a href=\"https:\/\/docs.couchbase.com\/server\/current\/rest-api\/rest-set-up-alternate-address.html?ref=blog\" target=\"_blank\" rel=\"noopener\">confira a documenta\u00e7\u00e3o do Couchbase sobre o gerenciamento de endere\u00e7os alternativos com a API REST<\/a>.)<\/p>\n<p>Em seguida, voc\u00ea dever\u00e1 atualizar o endere\u00e7o alternativo para cada endere\u00e7o IP no cluster. Isso mapeia o endere\u00e7o interno para o endere\u00e7o IP que voc\u00ea especificar.<\/p>\n<pre class=\"toolbar:1\">curl -v -X PUT -u asdf88495:Password1!@#$ https:\/\/40.80.151.197:8091\/node\/controller\/setupAlternateAddresses\/external -d hostname=40.80.151.197\r\n<\/pre>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<p>Voc\u00ea deve receber uma resposta 200, como pode ver abaixo.<\/p>\n<pre class=\"toolbar:1 lang:default decode:true\">*   Trying 13.82.230.238...\r\n* TCP_NODELAY set\r\n* Connected to 13.82.230.238 (13.82.230.238) port 8091 (#0)\r\n* Server auth using Basic with user 'asdf88495'\r\n&gt; PUT \/node\/controller\/setupAlternateAddresses\/external HTTP\/1.1\r\n&gt; Host: 13.82.230.238:8091\r\n&gt; Authorization: Basic YXNkZjg4NDk1OlBhc3N3b3JkMSFAIyQ=\r\n&gt; User-Agent: curl\/7.55.1\r\n&gt; Accept: *\/*\r\n&gt; Content-Length: 22\r\n&gt; Content-Type: application\/x-www-form-urlencoded\r\n&gt;\r\n* upload completely sent off: 22 out of 22 bytes\r\n&lt; HTTP\/1.1 200 OK\r\n&lt; X-XSS-Protection: 1; mode=block\r\n&lt; X-Permitted-Cross-Domain-Policies: none\r\n&lt; X-Frame-Options: DENY\r\n&lt; X-Content-Type-Options: nosniff\r\n&lt; Server: Couchbase Server\r\n&lt; Pragma: no-cache\r\n&lt; Expires: Thu, 01 Jan 1970 00:00:00 GMT\r\n&lt; Date: Mon, 28 Jun 2021 18:59:31 GMT\r\n&lt; Content-Length: 0\r\n&lt; Cache-Control: no-cache,no-store,must-revalidate\r\n<\/pre>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<p>Repita o comando para os outros hosts tamb\u00e9m, da seguinte forma:<\/p>\n<pre class=\"toolbar:1\">curl -v -X PUT -u asdf88495:Password1!@#$ https:\/\/40.80.146.52:8091\/node\/controller\/setupAlternateAddresses\/external -d hostname=40.80.146.52\r\n<\/pre>\n<pre class=\"toolbar:1\">curl -v -X PUT -u asdf88495:Password1!@#$ https:\/\/13.82.230.238:8091\/node\/controller\/setupAlternateAddresses\/external -d hostname=13.82.230.238\r\n<\/pre>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<h2>2. Execu\u00e7\u00e3o do SDK Doctor para confirmar o sucesso<\/h2>\n<p>Agora, execute o SDK Doctor novamente para confirmar o sucesso. Voc\u00ea dever\u00e1 obter algo parecido com o que est\u00e1 abaixo:<\/p>\n<p>Talvez seja necess\u00e1rio clicar duas vezes no exemplo de c\u00f3digo abaixo para ver a sa\u00edda completa (dependendo do seu dispositivo).<\/p>\n<pre class=\"toolbar:1 lang:default decode:true\">C:\\david\\bin\\Couchbase&gt; .\\sdk-doctor-windows.exe diagnose couchbase:\/\/40.80.151.197,40.80.146.52,13.82.230.238\/beer-sample  -u asdf88495 -p Password1!@#$\r\n|====================================================================|\r\n|          ___ ___  _  __   ___   ___   ___ _____ ___  ___           |\r\n|         \/ __|   \\| |\/ \/__|   \\ \/ _ \\ \/ __|_   _\/ _ \\| _ \\          |\r\n|         \\__ \\ |) | ' &lt;___| |) | (_) | (__  | || (_) |   \/          |\r\n|         |___\/___\/|_|\\_\\  |___\/ \\___\/ \\___| |_| \\___\/|_|_\\          |\r\n|                                                                    |\r\n|====================================================================|\r\n\r\nNote: Diagnostics can only provide accurate results when your cluster\r\n is in a stable state.  Active rebalancing and other cluster configuration\r\n changes can cause the output of the doctor to be inconsistent or in the\r\n worst cases, completely incorrect.\r\n\r\n13:59:33.729 INFO \u25b6 Parsing connection string `couchbase:\/\/40.80.151.197,40.80.146.52,13.82.230.238\/beer-sample`\r\n13:59:33.730 INFO \u25b6 Connection string identifies the following CCCP endpoints:\r\n13:59:33.730 INFO \u25b6   1. 40.80.151.197:11210\r\n13:59:33.730 INFO \u25b6   2. 40.80.146.52:11210\r\n13:59:33.730 INFO \u25b6   3. 13.82.230.238:11210\r\n13:59:33.730 INFO \u25b6 Connection string identifies the following HTTP endpoints:\r\n13:59:33.731 INFO \u25b6   1. 40.80.151.197:8091\r\n13:59:33.731 INFO \u25b6   2. 40.80.146.52:8091\r\n13:59:33.731 INFO \u25b6   3. 13.82.230.238:8091\r\n13:59:33.731 INFO \u25b6 Connection string specifies bucket `beer-sample`\r\n13:59:33.731 INFO \u25b6 Performing DNS lookup for host `40.80.151.197`\r\n13:59:33.731 INFO \u25b6 Performing DNS lookup for host `40.80.146.52`\r\n13:59:33.731 INFO \u25b6 Performing DNS lookup for host `13.82.230.238`\r\n13:59:33.731 INFO \u25b6 Attempting to connect to cluster via CCCP\r\n13:59:33.732 INFO \u25b6 Attempting to fetch config via cccp from `40.80.151.197:11210`\r\n13:59:33.947 INFO \u25b6 Attempting to fetch config via cccp from `40.80.146.52:11210`\r\n13:59:34.171 INFO \u25b6 Attempting to fetch config via cccp from `13.82.230.238:11210`\r\n13:59:34.391 WARN \u25b6 Bootstrap host `40.80.151.197` is not using the canonical node hostname of `10.0.0.4`.  This is not neccessarily an error, but has been known to result in strange and challenging to diagnose errors when DNS entries are reconfigured.\r\n13:59:34.392 WARN \u25b6 Bootstrap host `40.80.146.52` is not using the canonical node hostname of `10.0.0.5`.  This is not neccessarily an error, but has been known to result in strange and challenging to diagnose errors when DNS entries are reconfigured.\r\n13:59:34.393 WARN \u25b6 Bootstrap host `13.82.230.238` is not using the canonical node hostname of `10.0.0.6`.  This is not neccessarily an error, but has been known to result in strange and challenging to diagnose errors when DNS entries are reconfigured.\r\n13:59:34.394 INFO \u25b6 Selected the following network type: external\r\n13:59:34.394 INFO \u25b6 Identified the following nodes:\r\n13:59:34.394 INFO \u25b6   [0] 40.80.151.197\r\n13:59:34.395 INFO \u25b6                projector:  9999,                 n1ql:  8093,              n1qlSSL: 18093\r\n13:59:34.395 INFO \u25b6                  cbasSSL: 18095,           indexAdmin:  9100,                kvSSL: 11207\r\n13:59:34.396 INFO \u25b6                     capi:  8092,              capiSSL: 18092,   indexStreamCatchup:  9104\r\n13:59:34.396 INFO \u25b6                  mgmtSSL: 18091,    eventingAdminPort:  8096,          eventingSSL: 18096\r\n13:59:34.397 INFO \u25b6                      fts:  8094,              ftsGRPC:  9130,        eventingDebug:  9140\r\n13:59:34.397 INFO \u25b6                indexHttp:  9102,     indexStreamMaint:  9105,      indexStreamInit:  9103\r\n13:59:34.398 INFO \u25b6               indexHttps: 19102,                   kv: 11210,                 mgmt:  8091\r\n13:59:34.398 INFO \u25b6                     cbas:  8095,               ftsSSL: 18094,           ftsGRPCSSL: 19130\r\n13:59:34.399 INFO \u25b6                indexScan:  9101\r\n13:59:34.399 INFO \u25b6   [1] 40.80.146.52\r\n13:59:34.400 INFO \u25b6                  capiSSL: 18092,              mgmtSSL: 18091,      indexStreamInit:  9103\r\n13:59:34.400 INFO \u25b6       indexStreamCatchup:  9104,     indexStreamMaint:  9105,           indexHttps: 19102\r\n13:59:34.400 INFO \u25b6                     n1ql:  8093,              n1qlSSL: 18093,              cbasSSL: 18095\r\n13:59:34.401 INFO \u25b6            eventingDebug:  9140,          eventingSSL: 18096,                  fts:  8094\r\n13:59:34.401 INFO \u25b6                  ftsGRPC:  9130,                 mgmt:  8091,                 cbas:  8095\r\n13:59:34.402 INFO \u25b6        eventingAdminPort:  8096,            indexScan:  9101,                kvSSL: 11207\r\n13:59:34.402 INFO \u25b6                     capi:  8092,            projector:  9999,               ftsSSL: 18094\r\n13:59:34.403 INFO \u25b6               ftsGRPCSSL: 19130,           indexAdmin:  9100,            indexHttp:  9102\r\n13:59:34.403 INFO \u25b6                       kv: 11210\r\n13:59:34.403 INFO \u25b6   [2] 13.82.230.238\r\n13:59:34.404 INFO \u25b6                       kv: 11210,            projector:  9999,          eventingSSL: 18096\r\n13:59:34.404 INFO \u25b6          indexStreamInit:  9103,           indexHttps: 19102,     indexStreamMaint:  9105\r\n13:59:34.405 INFO \u25b6                    kvSSL: 11207,              capiSSL: 18092,    eventingAdminPort:  8096\r\n13:59:34.406 INFO \u25b6                  ftsGRPC:  9130,            indexScan:  9101,           ftsGRPCSSL: 19130\r\n13:59:34.406 INFO \u25b6       indexStreamCatchup:  9104,                 n1ql:  8093,              n1qlSSL: 18093\r\n13:59:34.407 INFO \u25b6                     mgmt:  8091,              mgmtSSL: 18091,               ftsSSL: 18094\r\n13:59:34.407 INFO \u25b6                      fts:  8094,           indexAdmin:  9100,            indexHttp:  9102\r\n13:59:34.407 INFO \u25b6                     capi:  8092,                 cbas:  8095,              cbasSSL: 18095\r\n13:59:34.408 INFO \u25b6            eventingDebug:  9140\r\n13:59:34.408 INFO \u25b6 Fetching config from `https:\/\/40.80.151.197:8091`\r\n13:59:34.511 INFO \u25b6 Received cluster configuration, nodes list:\r\n[\r\n  {\r\n    \"addressFamily\": \"inet\",\r\n    \"alternateAddresses\": {\r\n      \"external\": {\r\n        \"hostname\": \"40.80.151.197\",\r\n        \"ports\": {\r\n          \"capi\": 8092,\r\n          \"capiSSL\": 18092,\r\n          \"kv\": 11210,\r\n          \"mgmt\": 8091,\r\n          \"mgmtSSL\": 18091\r\n        }\r\n      }\r\n    },\r\n    \"clusterCompatibility\": 393222,\r\n    \"clusterMembership\": \"active\",\r\n    \"configuredHostname\": \"10.0.0.4:8091\",\r\n    \"couchApiBase\": \"https:\/\/10.0.0.4:8092\/\",\r\n    \"couchApiBaseHTTPS\": \"https:\/\/10.0.0.4:18092\/\",\r\n    \"cpuCount\": 4,\r\n    \"externalListeners\": [\r\n      {\r\n        \"afamily\": \"inet\",\r\n        \"nodeEncryption\": false\r\n      },\r\n      {\r\n        \"afamily\": \"inet6\",\r\n        \"nodeEncryption\": false\r\n      }\r\n    ],\r\n    \"hostname\": \"10.0.0.4:8091\",\r\n    \"interestingStats\": {\r\n      \"cmd_get\": 0,\r\n      \"couch_docs_actual_disk_size\": 17689291,\r\n      \"couch_docs_data_size\": 11756324,\r\n      \"couch_spatial_data_size\": 0,\r\n      \"couch_spatial_disk_size\": 0,\r\n      \"couch_views_actual_disk_size\": 22774,\r\n      \"couch_views_data_size\": 11416,\r\n      \"curr_items\": 2475,\r\n      \"curr_items_tot\": 4897,\r\n      \"ep_bg_fetched\": 0,\r\n      \"get_hits\": 0,\r\n      \"mem_used\": 22484624,\r\n      \"ops\": 0,\r\n      \"vb_active_num_non_resident\": 0,\r\n      \"vb_replica_curr_items\": 2422\r\n    },\r\n    \"mcdMemoryAllocated\": 22468,\r\n    \"mcdMemoryReserved\": 22468,\r\n    \"memoryFree\": 27792080896,\r\n    \"memoryTotal\": 29450268672,\r\n    \"nodeEncryption\": false,\r\n    \"nodeUUID\": \"616c0853d0e7cbacab9cbdd6ec7a51f7\",\r\n    \"os\": \"x86_64-unknown-linux-gnu\",\r\n    \"otpNode\": \"ns_1@10.0.0.4\",\r\n    \"ports\": {\r\n      \"direct\": 11210,\r\n      \"distTCP\": 21100,\r\n      \"distTLS\": 21150,\r\n      \"httpsCAPI\": 18092,\r\n      \"httpsMgmt\": 18091\r\n    },\r\n    \"recoveryType\": \"none\",\r\n    \"services\": [\r\n      \"cbas\",\r\n      \"eventing\",\r\n      \"fts\",\r\n      \"index\",\r\n      \"kv\",\r\n      \"n1ql\"\r\n    ],\r\n    \"status\": \"healthy\",\r\n    \"systemStats\": {\r\n      \"allocstall\": 0,\r\n      \"cpu_cores_available\": 4,\r\n      \"cpu_stolen_rate\": 0,\r\n      \"cpu_utilization_rate\": 3.282828282828283,\r\n      \"mem_free\": 27792080896,\r\n      \"mem_limit\": 29450268672,\r\n      \"mem_total\": 29450268672,\r\n      \"swap_total\": 0,\r\n      \"swap_used\": 0\r\n    },\r\n    \"thisNode\": true,\r\n    \"uptime\": \"1122\",\r\n    \"version\": \"6.6.2-9588-enterprise\"\r\n  },\r\n  {\r\n    \"addressFamily\": \"inet\",\r\n    \"alternateAddresses\": {\r\n      \"external\": {\r\n        \"hostname\": \"40.80.146.52\",\r\n        \"ports\": {\r\n          \"capi\": 8092,\r\n          \"capiSSL\": 18092,\r\n          \"kv\": 11210,\r\n          \"mgmt\": 8091,\r\n          \"mgmtSSL\": 18091\r\n        }\r\n      }\r\n    },\r\n    \"clusterCompatibility\": 393222,\r\n    \"clusterMembership\": \"active\",\r\n    \"configuredHostname\": \"10.0.0.5:8091\",\r\n    \"couchApiBase\": \"https:\/\/10.0.0.5:8092\/\",\r\n    \"couchApiBaseHTTPS\": \"https:\/\/10.0.0.5:18092\/\",\r\n    \"cpuCount\": 4,\r\n    \"externalListeners\": [\r\n      {\r\n        \"afamily\": \"inet\",\r\n        \"nodeEncryption\": false\r\n      },\r\n      {\r\n        \"afamily\": \"inet6\",\r\n        \"nodeEncryption\": false\r\n      }\r\n    ],\r\n    \"hostname\": \"10.0.0.5:8091\",\r\n    \"interestingStats\": {\r\n      \"cmd_get\": 0,\r\n      \"couch_docs_actual_disk_size\": 17275589,\r\n      \"couch_docs_data_size\": 11350638,\r\n      \"couch_spatial_data_size\": 0,\r\n      \"couch_spatial_disk_size\": 0,\r\n      \"couch_views_actual_disk_size\": 22737,\r\n      \"couch_views_data_size\": 11408,\r\n      \"curr_items\": 2415,\r\n      \"curr_items_tot\": 4862,\r\n      \"ep_bg_fetched\": 0,\r\n      \"get_hits\": 0,\r\n      \"mem_used\": 22640944,\r\n      \"ops\": 0,\r\n      \"vb_active_num_non_resident\": 0,\r\n      \"vb_replica_curr_items\": 2447\r\n    },\r\n    \"mcdMemoryAllocated\": 22468,\r\n    \"mcdMemoryReserved\": 22468,\r\n    \"memoryFree\": 28102778880,\r\n    \"memoryTotal\": 29450268672,\r\n    \"nodeEncryption\": false,\r\n    \"nodeUUID\": \"94565e32208f2d93915124d49842258c\",\r\n    \"os\": \"x86_64-unknown-linux-gnu\",\r\n    \"otpNode\": \"ns_1@10.0.0.5\",\r\n    \"ports\": {\r\n      \"direct\": 11210,\r\n      \"distTCP\": 21100,\r\n      \"distTLS\": 21150,\r\n      \"httpsCAPI\": 18092,\r\n      \"httpsMgmt\": 18091\r\n    },\r\n    \"recoveryType\": \"none\",\r\n    \"services\": [\r\n      \"cbas\",\r\n      \"eventing\",\r\n      \"fts\",\r\n      \"index\",\r\n      \"kv\",\r\n      \"n1ql\"\r\n    ],\r\n    \"status\": \"healthy\",\r\n    \"systemStats\": {\r\n      \"allocstall\": 0,\r\n      \"cpu_cores_available\": 4,\r\n      \"cpu_stolen_rate\": 0,\r\n      \"cpu_utilization_rate\": 2.763819095477387,\r\n      \"mem_free\": 28102778880,\r\n      \"mem_limit\": 29450268672,\r\n      \"mem_total\": 29450268672,\r\n      \"swap_total\": 0,\r\n      \"swap_used\": 0\r\n    },\r\n    \"uptime\": \"1367\",\r\n    \"version\": \"6.6.2-9588-enterprise\"\r\n  },\r\n  {\r\n    \"addressFamily\": \"inet\",\r\n    \"alternateAddresses\": {\r\n      \"external\": {\r\n        \"hostname\": \"13.82.230.238\",\r\n        \"ports\": {\r\n          \"capi\": 8092,\r\n          \"capiSSL\": 18092,\r\n          \"kv\": 11210,\r\n          \"mgmt\": 8091,\r\n          \"mgmtSSL\": 18091\r\n        }\r\n      }\r\n    },\r\n    \"clusterCompatibility\": 393222,\r\n    \"clusterMembership\": \"active\",\r\n    \"configuredHostname\": \"10.0.0.6:8091\",\r\n    \"couchApiBase\": \"https:\/\/10.0.0.6:8092\/\",\r\n    \"couchApiBaseHTTPS\": \"https:\/\/10.0.0.6:18092\/\",\r\n    \"cpuCount\": 4,\r\n    \"externalListeners\": [\r\n      {\r\n        \"afamily\": \"inet\",\r\n        \"nodeEncryption\": false\r\n      },\r\n      {\r\n        \"afamily\": \"inet6\",\r\n        \"nodeEncryption\": false\r\n      }\r\n    ],\r\n    \"hostname\": \"10.0.0.6:8091\",\r\n    \"interestingStats\": {\r\n      \"cmd_get\": 0,\r\n      \"couch_docs_actual_disk_size\": 17363691,\r\n      \"couch_docs_data_size\": 11432558,\r\n      \"couch_spatial_data_size\": 0,\r\n      \"couch_spatial_disk_size\": 0,\r\n      \"couch_views_actual_disk_size\": 22756,\r\n      \"couch_views_data_size\": 11415,\r\n      \"curr_items\": 2413,\r\n      \"curr_items_tot\": 4847,\r\n      \"ep_bg_fetched\": 0,\r\n      \"get_hits\": 0,\r\n      \"mem_used\": 22550192,\r\n      \"ops\": 0,\r\n      \"vb_active_num_non_resident\": 0,\r\n      \"vb_replica_curr_items\": 2434\r\n    },\r\n    \"mcdMemoryAllocated\": 22468,\r\n    \"mcdMemoryReserved\": 22468,\r\n    \"memoryFree\": 28038606848,\r\n    \"memoryTotal\": 29450268672,\r\n    \"nodeEncryption\": false,\r\n    \"nodeUUID\": \"d66d1a929cde564fa27cec0d3ef56520\",\r\n    \"os\": \"x86_64-unknown-linux-gnu\",\r\n    \"otpNode\": \"ns_1@10.0.0.6\",\r\n    \"ports\": {\r\n      \"direct\": 11210,\r\n      \"distTCP\": 21100,\r\n      \"distTLS\": 21150,\r\n      \"httpsCAPI\": 18092,\r\n      \"httpsMgmt\": 18091\r\n    },\r\n    \"recoveryType\": \"none\",\r\n    \"services\": [\r\n      \"cbas\",\r\n      \"eventing\",\r\n      \"fts\",\r\n      \"index\",\r\n      \"kv\",\r\n      \"n1ql\"\r\n    ],\r\n    \"status\": \"healthy\",\r\n    \"systemStats\": {\r\n      \"allocstall\": 0,\r\n      \"cpu_cores_available\": 4,\r\n      \"cpu_stolen_rate\": 0,\r\n      \"cpu_utilization_rate\": 1.754385964912281,\r\n      \"mem_free\": 28038606848,\r\n      \"mem_limit\": 29450268672,\r\n      \"mem_total\": 29450268672,\r\n      \"swap_total\": 0,\r\n      \"swap_used\": 0\r\n    },\r\n    \"uptime\": \"1136\",\r\n    \"version\": \"6.6.2-9588-enterprise\"\r\n  }\r\n]\r\n13:59:34.706 INFO \u25b6 Successfully connected to Key Value service at `40.80.151.197:11210`\r\n13:59:34.845 INFO \u25b6 Successfully connected to Management service at `40.80.151.197:8091`\r\n13:59:34.933 INFO \u25b6 Successfully connected to Views service at `40.80.151.197:8092`\r\n13:59:35.020 INFO \u25b6 Successfully connected to Query service at `40.80.151.197:8093`\r\n13:59:35.108 INFO \u25b6 Successfully connected to Search service at `40.80.151.197:8094`\r\n13:59:35.200 INFO \u25b6 Successfully connected to Analytics service at `40.80.151.197:8095`\r\n13:59:35.377 INFO \u25b6 Successfully connected to Key Value service at `40.80.146.52:11210`\r\n13:59:35.515 INFO \u25b6 Successfully connected to Management service at `40.80.146.52:8091`\r\n13:59:35.619 INFO \u25b6 Successfully connected to Views service at `40.80.146.52:8092`\r\n13:59:35.713 INFO \u25b6 Successfully connected to Query service at `40.80.146.52:8093`\r\n13:59:35.803 INFO \u25b6 Successfully connected to Search service at `40.80.146.52:8094`\r\n13:59:35.903 INFO \u25b6 Successfully connected to Analytics service at `40.80.146.52:8095`\r\n13:59:36.074 INFO \u25b6 Successfully connected to Key Value service at `13.82.230.238:11210`\r\n13:59:36.206 INFO \u25b6 Successfully connected to Management service at `13.82.230.238:8091`\r\n13:59:36.308 INFO \u25b6 Successfully connected to Views service at `13.82.230.238:8092`\r\n13:59:36.397 INFO \u25b6 Successfully connected to Query service at `13.82.230.238:8093`\r\n13:59:36.487 INFO \u25b6 Successfully connected to Search service at `13.82.230.238:8094`\r\n13:59:36.591 INFO \u25b6 Successfully connected to Analytics service at `13.82.230.238:8095`\r\n13:59:37.207 INFO \u25b6 Memd Nop Pinged `40.80.151.197:11210` 10 times, 0 errors, 42ms min, 45ms max, 43ms mean\r\n13:59:37.208 WARN \u25b6 Memcached service on `40.80.151.197:11210` on average took longer than 10ms (was: 43ms) to reply.  This is usually due to network-related issues, and could significantly affect application performance.\r\n13:59:37.209 WARN \u25b6 Memcached service on `40.80.151.197:11210` maximally took longer than 20ms (was: 45ms) to reply. This is usually due to network-related issues, and could significantly affect application performance.\r\n13:59:37.803 INFO \u25b6 Memd Nop Pinged `40.80.146.52:11210` 10 times, 0 errors, 42ms min, 42ms max, 42ms mean\r\n13:59:37.804 WARN \u25b6 Memcached service on `40.80.146.52:11210` on average took longer than 10ms (was: 42ms) to reply.  This is usually due to network-related issues, and could significantly affect application performance.\r\n13:59:37.804 WARN \u25b6 Memcached service on `40.80.146.52:11210` maximally took longer than 20ms (was: 42ms) to reply. This is usually due to network-related issues, and could significantly affect application performance.\r\n13:59:38.423 INFO \u25b6 Memd Nop Pinged `13.82.230.238:11210` 10 times, 0 errors, 43ms min, 44ms max, 44ms mean\r\n13:59:38.423 WARN \u25b6 Memcached service on `13.82.230.238:11210` on average took longer than 10ms (was: 44ms) to reply.  This is usually due to network-related issues, and could significantly affect application performance.\r\n13:59:38.423 WARN \u25b6 Memcached service on `13.82.230.238:11210` maximally took longer than 20ms (was: 44ms) to reply. This is usually due to network-related issues, and could significantly affect application performance.\r\n13:59:38.424 INFO \u25b6 Diagnostics completed\r\n\r\nSummary:\r\n[WARN] Bootstrap host `40.80.151.197` is not using the canonical node hostname of `10.0.0.4`.  This is not neccessarily an error, but has been known to result in strange and challenging to diagnose errors when DNS entries are reconfigured.\r\n[WARN] Bootstrap host `40.80.146.52` is not using the canonical node hostname of `10.0.0.5`.  This is not neccessarily an error, but has been known to result in strange and challenging to diagnose errors when DNS entries are reconfigured.\r\n[WARN] Bootstrap host `13.82.230.238` is not using the canonical node hostname of `10.0.0.6`.  This is not neccessarily an error, but has been known to result in strange and challenging to diagnose errors when DNS entries are reconfigured.\r\n[WARN] Memcached service on `40.80.151.197:11210` on average took longer than 10ms (was: 43ms) to reply.  This is usually due to network-related issues, and could significantly affect application performance.\r\n[WARN] Memcached service on `40.80.151.197:11210` maximally took longer than 20ms (was: 45ms) to reply. This is usually due to network-related issues, and could significantly affect application performance.\r\n[WARN] Memcached service on `40.80.146.52:11210` on average took longer than 10ms (was: 42ms) to reply.  This is usually due to network-related issues, and could significantly affect application performance.\r\n[WARN] Memcached service on `40.80.146.52:11210` maximally took longer than 20ms (was: 42ms) to reply. This is usually due to network-related issues, and could significantly affect application performance.\r\n[WARN] Memcached service on `13.82.230.238:11210` on average took longer than 10ms (was: 44ms) to reply.  This is usually due to network-related issues, and could significantly affect application performance.\r\n[WARN] Memcached service on `13.82.230.238:11210` maximally took longer than 20ms (was: 44ms) to reply. This is usually due to network-related issues, and could significantly affect application performance.\r\n\r\nFound multiple issues, see listing above.\r\n<\/pre>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<p>Sucesso!<\/p>\n<h2>Conclus\u00e3o<\/h2>\n<p>A conex\u00e3o com clusters do Couchbase na nuvem oferece muitas vantagens. Mas, \u00e0s vezes, devido a v\u00e1rios requisitos de rede e seguran\u00e7a, a natureza remota e distribu\u00edda dos sistemas pode causar complica\u00e7\u00f5es entre o SDK do seu aplicativo e o cluster do Couchbase.<\/p>\n<p>Ao usar o Couchbase SDK Doctor e Alternate Addresses, voc\u00ea pode solucionar facilmente quaisquer complica\u00e7\u00f5es que surjam e corrigir problemas de conex\u00e3o imediatamente.<\/p>\n<div class=\"wp-block-spacer\" style=\"height: 30px\" aria-hidden=\"true\"><\/div>\n<div style=\"text-align: center\"><strong>Pronto para experimentar o Couchbase Server por conta pr\u00f3pria?<a href=\"https:\/\/www.couchbase.com\/blog\/pt\/downloads\/?ref=blog\" target=\"_blank\" rel=\"noopener\">D\u00ea uma olhada no Couchbase 7<\/a><\/strong><\/div>\n<div class=\"wp-block-spacer\" style=\"height: 15px\" aria-hidden=\"true\"><\/div>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>It&#8217;s a common experience to run into network connection errors when you&#8217;re developing an application \u2013 particularly if you&#8217;re connecting from your local computer SDK to a remote cluster. Is your SDK not connected? You&#8217;re likely to run into situations [&hellip;]<\/p>","protected":false},"author":76330,"featured_media":11907,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1815,2242,1816,2389,2366,2201],"tags":[1245,1673,1950,9305],"ppma_author":[9391],"class_list":["post-11766","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-best-practices-and-tutorials","category-connectors","category-couchbase-server","category-solutions","category-sync-gateway","category-tools-sdks","tag-cloud","tag-microsoft-azure","tag-rest-api","tag-virtual-machine"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.2 (Yoast SEO v26.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SDK Not Connected: Diagnose Using SDK Doctor &amp; Couchbase<\/title>\n<meta name=\"description\" content=\"Is your SDK not connecting? The walkthrough on this blog post will demonstrate how to diagnose using SDK Doctor &amp; Couchbase Alternate Addresses.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/pt\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Troubleshoot Your SDK Connection using SDK Doctor &amp; Couchbase Alternate Addresses\" \/>\n<meta property=\"og:description\" content=\"Is your SDK not connecting? The walkthrough on this blog post will demonstrate how to diagnose using SDK Doctor &amp; Couchbase Alternate Addresses.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/pt\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-10T07:00:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-14T04:03:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/couchbase-sdk-doctor-troubleshooting-sdk-network-connections-social.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"418\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"David Elliott, Solutions Engineer\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/couchbase-sdk-doctor-troubleshooting-sdk-network-connections-social.png\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"David Elliott, Solutions Engineer\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/\"},\"author\":{\"name\":\"David Elliott, Solutions Engineer, Couchbase\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/83d6351038e224227bff7d6385cfc87c\"},\"headline\":\"How to Troubleshoot Your SDK Connection using SDK Doctor &amp; Couchbase Alternate Addresses\",\"datePublished\":\"2021-09-10T07:00:25+00:00\",\"dateModified\":\"2025-06-14T04:03:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/\"},\"wordCount\":996,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/couchbase-sdk-doctor-troubleshooting-sdk-network-connections.png\",\"keywords\":[\"cloud\",\"Microsoft Azure\",\"REST API\",\"virtual machine\"],\"articleSection\":[\"Best Practices and Tutorials\",\"Connectors\",\"Couchbase Server\",\"Solutions\",\"Sync Gateway\",\"Tools &amp; SDKs\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/\",\"name\":\"SDK Not Connected: Diagnose Using SDK Doctor & Couchbase\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/couchbase-sdk-doctor-troubleshooting-sdk-network-connections.png\",\"datePublished\":\"2021-09-10T07:00:25+00:00\",\"dateModified\":\"2025-06-14T04:03:51+00:00\",\"description\":\"Is your SDK not connecting? The walkthrough on this blog post will demonstrate how to diagnose using SDK Doctor & Couchbase Alternate Addresses.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/couchbase-sdk-doctor-troubleshooting-sdk-network-connections.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/couchbase-sdk-doctor-troubleshooting-sdk-network-connections.png\",\"width\":1200,\"height\":628,\"caption\":\"Discover how to troubleshoot (and fix) network and SDK connection errors using Couchbase SDK Doctor\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Troubleshoot Your SDK Connection using SDK Doctor &amp; Couchbase Alternate Addresses\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/83d6351038e224227bff7d6385cfc87c\",\"name\":\"David Elliott, Solutions Engineer, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/56b47f3906eb1da4c4bab7db411e5f42\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/09\/david-elliott-couchbase.jpeg\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/09\/david-elliott-couchbase.jpeg\",\"caption\":\"David Elliott, Solutions Engineer, Couchbase\"},\"description\":\"Solutions Engineer at Couchbase, jack of all trades, master of some.\",\"url\":\"https:\/\/www.couchbase.com\/blog\/pt\/author\/david-elliott\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"SDK Not Connected: Diagnose Using SDK Doctor & Couchbase","description":"Is your SDK not connecting? The walkthrough on this blog post will demonstrate how to diagnose using SDK Doctor & Couchbase Alternate Addresses.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/pt\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/","og_locale":"pt_BR","og_type":"article","og_title":"How to Troubleshoot Your SDK Connection using SDK Doctor &amp; Couchbase Alternate Addresses","og_description":"Is your SDK not connecting? The walkthrough on this blog post will demonstrate how to diagnose using SDK Doctor & Couchbase Alternate Addresses.","og_url":"https:\/\/www.couchbase.com\/blog\/pt\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/","og_site_name":"The Couchbase Blog","article_published_time":"2021-09-10T07:00:25+00:00","article_modified_time":"2025-06-14T04:03:51+00:00","og_image":[{"width":800,"height":418,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/couchbase-sdk-doctor-troubleshooting-sdk-network-connections-social.png","type":"image\/png"}],"author":"David Elliott, Solutions Engineer","twitter_card":"summary_large_image","twitter_image":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/couchbase-sdk-doctor-troubleshooting-sdk-network-connections-social.png","twitter_misc":{"Written by":"David Elliott, Solutions Engineer","Est. reading time":"6 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/"},"author":{"name":"David Elliott, Solutions Engineer, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/83d6351038e224227bff7d6385cfc87c"},"headline":"How to Troubleshoot Your SDK Connection using SDK Doctor &amp; Couchbase Alternate Addresses","datePublished":"2021-09-10T07:00:25+00:00","dateModified":"2025-06-14T04:03:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/"},"wordCount":996,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/couchbase-sdk-doctor-troubleshooting-sdk-network-connections.png","keywords":["cloud","Microsoft Azure","REST API","virtual machine"],"articleSection":["Best Practices and Tutorials","Connectors","Couchbase Server","Solutions","Sync Gateway","Tools &amp; SDKs"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/","url":"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/","name":"SDK Not Connected: Diagnose Using SDK Doctor & Couchbase","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/couchbase-sdk-doctor-troubleshooting-sdk-network-connections.png","datePublished":"2021-09-10T07:00:25+00:00","dateModified":"2025-06-14T04:03:51+00:00","description":"Is your SDK not connecting? The walkthrough on this blog post will demonstrate how to diagnose using SDK Doctor & Couchbase Alternate Addresses.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/couchbase-sdk-doctor-troubleshooting-sdk-network-connections.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/08\/couchbase-sdk-doctor-troubleshooting-sdk-network-connections.png","width":1200,"height":628,"caption":"Discover how to troubleshoot (and fix) network and SDK connection errors using Couchbase SDK Doctor"},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/troubleshoot-sdk-connection-with-sdk-doctor-alternate-addresses\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Troubleshoot Your SDK Connection using SDK Doctor &amp; Couchbase Alternate Addresses"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"Blog do Couchbase","description":"Couchbase, o banco de dados NoSQL","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"Blog do Couchbase","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/83d6351038e224227bff7d6385cfc87c","name":"David Elliott, engenheiro de solu\u00e7\u00f5es, Couchbase","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/56b47f3906eb1da4c4bab7db411e5f42","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/09\/david-elliott-couchbase.jpeg","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/09\/david-elliott-couchbase.jpeg","caption":"David Elliott, Solutions Engineer, Couchbase"},"description":"Engenheiro de solu\u00e7\u00f5es da Couchbase, especialista em todos os of\u00edcios, mestre em alguns.","url":"https:\/\/www.couchbase.com\/blog\/pt\/author\/david-elliott\/"}]}},"authors":[{"term_id":9391,"user_id":76330,"is_guest":0,"slug":"david-elliott","display_name":"David Elliott, Solutions Engineer","avatar_url":{"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/09\/david-elliott-couchbase.jpeg","url2x":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/09\/david-elliott-couchbase.jpeg"},"author_category":"","last_name":"Elliott, Solutions Engineer","first_name":"David","job_title":"","user_url":"","description":"Engenheiro de solu\u00e7\u00f5es da Couchbase, especialista em todos os of\u00edcios, mestre em alguns."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/11766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/users\/76330"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/comments?post=11766"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/11766\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media\/11907"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media?parent=11766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/categories?post=11766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/tags?post=11766"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/ppma_author?post=11766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}