Hi,
I am having the same issue. I am running single node CouchBase 5 in a Linux Docker container.
I have updated the hostname of the container to the IP of the Linux VM.
Still no luck.
I am using CouchNetClient 2.4.7 on ASP.Net Core 2 preview 2.
Did I change the hostname in the correct place? Or were you referring to the Linux VM it is running ?
Thanks,
From the debug logs:
2017-07-25 19:04:41.6564|0|Couchbase.CouchbaseBucket|DEBUG|Creating bucket refCount# 0
2017-07-25 19:04:41.6641|0|Couchbase.CouchbaseBucket|INFO|Config updated old/new: 0, 70
2017-07-25 19:04:46.7628|0|Couchbase.N1QL.QueryClient|DEBUG|http://127.0.0.1:8093/query[{âstatementâ:âSELECT h.* FROM Hcr h WHERE personId = â63054feb-57fc-49f7-91a6-b90d5d95a59dâ LIMIT $1â,âtimeoutâ:â30000msâ,âargsâ:[10],âcredsâ:[{âuserâ:âlocal:Administratorâ,âpassâ:âdotNetDev@â}],âclient_context_idâ:â1::2â}]
2017-07-25 19:04:46.7796|0|Couchbase.N1QL.QueryClient|TRACE|Sending query cid1::3: http://127.0.0.1:8093/query
2017-07-25 19:04:47.8174|0|Couchbase.Configuration.Server.Monitoring.ConfigMonitor|DEBUG|Checking configsâŚ
2017-07-25 19:04:47.8337|0|Couchbase.Configuration.Server.Monitoring.ConfigMonitor|INFO|Using index 0 - server Couchbase.Core.Server
2017-07-25 19:04:47.8337|0|Couchbase.Core.Server|DEBUG|Sending Config with key using server 192.168.72.186:11210
2017-07-25 19:04:47.8556|0|Couchbase.IO.Services.PooledIOService|TRACE|Using conn d4c94696-4797-4d24-a689-34e17c4807c6 on 192.168.72.186:11210
2017-07-25 19:04:47.8696|0|Couchbase.Configuration.Server.Monitoring.ConfigMonitor|INFO|Checking config with revision #70
2017-07-25 19:04:47.8976|0|Couchbase.Core.ClusterController|DEBUG|Queueing config rev#70 for [Hcr].
2017-07-25 19:04:47.8976|0|Couchbase.Core.ClusterController|DEBUG|Processing config rev#70
2017-07-25 19:04:47.8976|0|Couchbase.Configuration.Server.Monitoring.ConfigMonitor|DEBUG|Waiting to check configsâŚ
2017-07-25 19:04:47.9219|0|Couchbase.Configuration.Server.Providers.ConfigProviderBase|DEBUG|1. Checking config with rev#70 on thread 13
2017-07-25 19:04:47.9462|0|Couchbase.Configuration.Server.Providers.ConfigProviderBase|INFO|Ignoring config with rev#70
2017-07-25 19:04:48.0264|0|Couchbase.N1QL.QueryClient|INFO|Failed query cid1::3: http://127.0.0.1:8093/query
Here are the container details:
[root@CentOS7Dev home]# docker inspect bf08
[
{
âIdâ: âbf08707fdc37842affe6ea3c37a0f267ec934ca70a5c791ccbb5c4b985adb011â,
âCreatedâ: â2017-07-25T16:50:16.4790152Zâ,
âPathâ: â/entrypoint.shâ,
âArgsâ: [
âcouchbase-serverâ
],
âStateâ: {
âStatusâ: ârunningâ,
âRunningâ: true,
âPausedâ: false,
âRestartingâ: false,
âOOMKilledâ: false,
âDeadâ: false,
âPidâ: 25077,
âExitCodeâ: 0,
âErrorâ: ââ,
âStartedAtâ: â2017-07-25T16:51:24.3557029Zâ,
âFinishedAtâ: â2017-07-25T16:51:17.9080024Zâ
},
âImageâ: âsha256:71a1fd0fdbc3e058e392167563c3fcb651de958284da581895ca359535ba8b86â,
âResolvConfPathâ: â/var/lib/docker/containers/bf08707fdc37842affe6ea3c37a0f267ec934ca70a5c791ccbb5c4b985adb011/resolv.confâ,
âHostnamePathâ: â/var/lib/docker/containers/bf08707fdc37842affe6ea3c37a0f267ec934ca70a5c791ccbb5c4b985adb011/hostnameâ,
âHostsPathâ: â/var/lib/docker/containers/bf08707fdc37842affe6ea3c37a0f267ec934ca70a5c791ccbb5c4b985adb011/hostsâ,
âLogPathâ: â/var/lib/docker/containers/bf08707fdc37842affe6ea3c37a0f267ec934ca70a5c791ccbb5c4b985adb011/bf08707fdc37842affe6ea3c37a0f267ec934ca70a5c791ccbb5c4b985adb011-json.logâ,
âNameâ: â/couch-5beta2â,
âRestartCountâ: 0,
âDriverâ: âoverlayâ,
âMountLabelâ: ââ,
âProcessLabelâ: ââ,
âAppArmorProfileâ: ââ,
âExecIDsâ: null,
âHostConfigâ: {
âBindsâ: [
"/opt/couchbase/var:/opt/couchbase/var"
],
âContainerIDFileâ: ââ,
âLogConfigâ: {
âTypeâ: âjson-fileâ,
âConfigâ: {}
},
âNetworkModeâ: âdefaultâ,
âPortBindingsâ: {
â11207/tcpâ: [
{
âHostIpâ: ââ,
âHostPortâ: â11207â
}
],
â11210/tcpâ: [
{
âHostIpâ: ââ,
âHostPortâ: â11210â
}
],
â11211/tcpâ: [
{
âHostIpâ: ââ,
âHostPortâ: â11211â
}
],
â18091/tcpâ: [
{
âHostIpâ: ââ,
âHostPortâ: â18091â
}
],
â18092/tcpâ: [
{
âHostIpâ: ââ,
âHostPortâ: â18092â
}
],
â18093/tcpâ: [
{
âHostIpâ: ââ,
âHostPortâ: â18093â
}
],
â8091/tcpâ: [
{
âHostIpâ: ââ,
âHostPortâ: â8091â
}
],
â8092/tcpâ: [
{
âHostIpâ: ââ,
âHostPortâ: â8092â
}
],
â8093/tcpâ: [
{
âHostIpâ: ââ,
âHostPortâ: â8093â
}
],
â8094/tcpâ: [
{
âHostIpâ: ââ,
âHostPortâ: â8094â
}
]
},
âRestartPolicyâ: {
âNameâ: ânoâ,
âMaximumRetryCountâ: 0
},
âAutoRemoveâ: false,
âVolumeDriverâ: ââ,
âVolumesFromâ: null,
âCapAddâ: null,
âCapDropâ: null,
âDnsâ: [],
âDnsOptionsâ: [],
âDnsSearchâ: [],
âExtraHostsâ: null,
âGroupAddâ: null,
âIpcModeâ: ââ,
âCgroupâ: ââ,
âLinksâ: null,
âOomScoreAdjâ: 0,
âPidModeâ: ââ,
âPrivilegedâ: false,
âPublishAllPortsâ: false,
âReadonlyRootfsâ: false,
âSecurityOptâ: null,
âUTSModeâ: ââ,
âUsernsModeâ: ââ,
âShmSizeâ: 67108864,
âRuntimeâ: âruncâ,
âConsoleSizeâ: [
0,
0
],
âIsolationâ: ââ,
âCpuSharesâ: 0,
âMemoryâ: 0,
âNanoCpusâ: 0,
âCgroupParentâ: ââ,
âBlkioWeightâ: 0,
âBlkioWeightDeviceâ: null,
âBlkioDeviceReadBpsâ: null,
âBlkioDeviceWriteBpsâ: null,
âBlkioDeviceReadIOpsâ: null,
âBlkioDeviceWriteIOpsâ: null,
âCpuPeriodâ: 0,
âCpuQuotaâ: 0,
âCpuRealtimePeriodâ: 0,
âCpuRealtimeRuntimeâ: 0,
âCpusetCpusâ: ââ,
âCpusetMemsâ: ââ,
âDevicesâ: [],
âDeviceCgroupRulesâ: null,
âDiskQuotaâ: 0,
âKernelMemoryâ: 0,
âMemoryReservationâ: 0,
âMemorySwapâ: 0,
âMemorySwappinessâ: -1,
âOomKillDisableâ: false,
âPidsLimitâ: 0,
âUlimitsâ: null,
âCpuCountâ: 0,
âCpuPercentâ: 0,
âIOMaximumIOpsâ: 0,
âIOMaximumBandwidthâ: 0
},
âGraphDriverâ: {
âDataâ: {
âLowerDirâ: â/var/lib/docker/overlay/00321dde921049d82e0c3581dddd3d08ed4424d426ec2bd4c623dfb25b77af23/rootâ,
âMergedDirâ: â/var/lib/docker/overlay/5994dc389074afed76ece158d045a7811e7eb8046dc289b77b535ddd662a84bb/mergedâ,
âUpperDirâ: â/var/lib/docker/overlay/5994dc389074afed76ece158d045a7811e7eb8046dc289b77b535ddd662a84bb/upperâ,
âWorkDirâ: â/var/lib/docker/overlay/5994dc389074afed76ece158d045a7811e7eb8046dc289b77b535ddd662a84bb/workâ
},
âNameâ: âoverlayâ
},
âMountsâ: [
{
âTypeâ: âbindâ,
âSourceâ: â/opt/couchbase/varâ,
âDestinationâ: â/opt/couchbase/varâ,
âModeâ: ââ,
âRWâ: true,
âPropagationâ: ââ
}
],
âConfigâ: {
âHostnameâ: â192.168.72.186â,
âDomainnameâ: ââ,
âUserâ: ââ,
âAttachStdinâ: false,
âAttachStdoutâ: false,
âAttachStderrâ: false,
âExposedPortsâ: {
â11207/tcpâ: {},
â11210/tcpâ: {},
â11211/tcpâ: {},
â18091/tcpâ: {},
â18092/tcpâ: {},
â18093/tcpâ: {},
â8091/tcpâ: {},
â8092/tcpâ: {},
â8093/tcpâ: {},
â8094/tcpâ: {}
},
âTtyâ: false,
âOpenStdinâ: false,
âStdinOnceâ: false,
âEnvâ: [
âPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/installâ
],
âCmdâ: [
âcouchbase-serverâ
],
âArgsEscapedâ: true,
âImageâ: âcouchbase/server:5.0.0-beta2â,
âVolumesâ: {
"/opt/couchbase/var": {}
},
âWorkingDirâ: ââ,
âEntrypointâ: [
"/entrypoint.sh"
],
âOnBuildâ: null,
âLabelsâ: {}
},
âNetworkSettingsâ: {
âBridgeâ: ââ,
âSandboxIDâ: â4693acd9a2baa5c0d92050a086f4a4e7b7dc9d64d842ce61a7fb79537b8a8e54â,
âHairpinModeâ: false,
âLinkLocalIPv6Addressâ: ââ,
âLinkLocalIPv6PrefixLenâ: 0,
âPortsâ: {
â11207/tcpâ: [
{
âHostIpâ: â0.0.0.0â,
âHostPortâ: â11207â
}
],
â11210/tcpâ: [
{
âHostIpâ: â0.0.0.0â,
âHostPortâ: â11210â
}
],
â11211/tcpâ: [
{
âHostIpâ: â0.0.0.0â,
âHostPortâ: â11211â
}
],
â18091/tcpâ: [
{
âHostIpâ: â0.0.0.0â,
âHostPortâ: â18091â
}
],
â18092/tcpâ: [
{
âHostIpâ: â0.0.0.0â,
âHostPortâ: â18092â
}
],
â18093/tcpâ: [
{
âHostIpâ: â0.0.0.0â,
âHostPortâ: â18093â
}
],
â8091/tcpâ: [
{
âHostIpâ: â0.0.0.0â,
âHostPortâ: â8091â
}
],
â8092/tcpâ: [
{
âHostIpâ: â0.0.0.0â,
âHostPortâ: â8092â
}
],
â8093/tcpâ: [
{
âHostIpâ: â0.0.0.0â,
âHostPortâ: â8093â
}
],
â8094/tcpâ: [
{
âHostIpâ: â0.0.0.0â,
âHostPortâ: â8094â
}
]
},
âSandboxKeyâ: â/var/run/docker/netns/4693acd9a2baâ,
âSecondaryIPAddressesâ: null,
âSecondaryIPv6Addressesâ: null,
âEndpointIDâ: â722d16ce533450d2b18d43b3b8fa17c25b1f8fbe9d6f9792de4896a7bfdc8e3dâ,
âGatewayâ: â172.17.0.1â,
âGlobalIPv6Addressâ: ââ,
âGlobalIPv6PrefixLenâ: 0,
âIPAddressâ: â172.17.0.3â,
âIPPrefixLenâ: 16,
âIPv6Gatewayâ: ââ,
âMacAddressâ: â02:42:ac:11:00:03â,
âNetworksâ: {
âbridgeâ: {
âIPAMConfigâ: null,
âLinksâ: null,
âAliasesâ: null,
âNetworkIDâ: âf7bfbe9e189c076111a7e19a60ae1b3fa5dfec2b7f137592ced468240dfad00dâ,
âEndpointIDâ: â722d16ce533450d2b18d43b3b8fa17c25b1f8fbe9d6f9792de4896a7bfdc8e3dâ,
âGatewayâ: â172.17.0.1â,
âIPAddressâ: â172.17.0.3â,
âIPPrefixLenâ: 16,
âIPv6Gatewayâ: ââ,
âGlobalIPv6Addressâ: ââ,
âGlobalIPv6PrefixLenâ: 0,
âMacAddressâ: â02:42:ac:11:00:03â
}
}
}
}
]