Well… nevermind… back to the same error
Here’s the strace
output:
connect(14, {sa_family=AF_INET, sin_port=htons(8091), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
epoll_ctl(5, EPOLL_CTL_ADD, 14, {EPOLLOUT, {u32=14, u64=14}}) = 0
epoll_wait(5, [{EPOLLOUT, {u32=14, u64=14}}], 1024, 1956) = 1
getsockopt(14, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getpeername(14, {sa_family=AF_INET, sin_port=htons(8091), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
getsockname(14, {sa_family=AF_INET, sin_port=htons(56202), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
setsockopt(14, SOL_TCP, TCP_NODELAY, [1], 4) = 0
write(14, "GET /pools/default/bs/kuss-test-db HTTP/1.1\r\nAuthorization: Basic a3Vzcy10ZXN0LWRiOmZvby1iYXI=\r\nHost: localhost:8091\r\nUser-Agent: libcouchbase/2.7.5-njs\r\n\r\n", 156) = 156
epoll_ctl(5, EPOLL_CTL_ADD, 14, {EPOLLIN, {u32=14, u64=14}}) = -1 EEXIST (File exists)
epoll_ctl(5, EPOLL_CTL_MOD, 14, {EPOLLIN, {u32=14, u64=14}}) = 0
epoll_wait(5, [], 1024, 0) = 0
epoll_wait(5, [{EPOLLIN, {u32=14, u64=14}}], 1024, 1955) = 1
read(14, "HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\nServer: Couchbase Server\r\nPragma: no-cache\r\nDate: Fri, 09 Jun 2017 19:22:20 GMT\r\nContent-Type: application/json; charset=utf-8\r\nCache-Control: no-cache\r\n\r\n3da\r\n{\"rev\":117,\"name\":\"kuss-test-db\",\"uri\":\"/pools/default/buckets/kuss-test-db?bucket_uuid=dc39b1c0e278b330615e930b853e1893\",\"streamingUri\":\"/pools/default/bucketsStreaming/kuss-test-db?bucket_uuid=dc39b1c0e278b330615e930b853e1893\",\"nodes\":[{\"couchApiBase\":\"http://$HOST:8092/kuss-test-db%2Bdc39b1c0e278b330615e930b853e1893\",\"hostname\":\"$HOST:8091\",\"ports\":{\"proxy\":11211,\"direct\":11210}}],\"nodesExt\":[{\"services\":{\"mgmt\":8091,\"indexAdmin\":9100,\"indexScan\":9101,\"indexHttp\":9102,\"indexStreamInit\":9103,\"indexStreamCatchup\":9104,\"indexStreamMaint\":9105,\"capi\":8092,\"projector\":9999,\"kv\":11210,\"moxi\":11211,\"n1ql\":8093},\"thisNode\":true}],\"nodeLocator\":\"vbucket\",\"uuid\":\"dc39b1c0e278b330615e930b853e1893\",\"ddocs\":{\"uri\":\"/pools/default/buckets/kuss-test-db/ddocs\"},\"vBucketServerMap\":{\"hashAlgorithm\":\"CRC\",\"numReplicas\":1,\"serverList\":[\"$HOST:11210\"],\"vBucketMap\":[]},\"bucketCapabilitiesVer\":\"\",\"bucketCapabilities\":[\"cbhello\",\"touch\",\"couchapi\",\"cccp\",\"xdcrCheckpointing\",\"nodesExt\",\"dcp\"]}\r\n", 33211) = 1193
epoll_ctl(5, EPOLL_CTL_ADD, 14, {EPOLLIN, {u32=14, u64=14}}) = -1 EEXIST (File exists)
epoll_ctl(5, EPOLL_CTL_MOD, 14, {EPOLLIN, {u32=14, u64=14}}) = 0
epoll_wait(5, [{EPOLLIN, {u32=14, u64=14}}], 1024, 1945) = 1
read(14, "4\r\n\n\n\n\n\r\n", 33211) = 9
epoll_ctl(5, EPOLL_CTL_DEL, 14, 0x7fffacf92de0) = 0
close(14) = 0
write(2, "Fri, 09 Jun 2017 19:22:20 GMT kuss:couchbase:wrapper RUN - ERROR: { CouchbaseError message: 'Data received on socket was not in the expected format', code: 22 }\n", 161Fri, 09 Jun 2017 19:22:20 GMT kuss:couchbase:wrapper RUN - ERROR: { CouchbaseError message: 'Data received on socket was not in the expected format', code: 22 }