We're using Couchbase client 1.4.2 with Spymemcached 2.11.3 to connect to
Couchbase 2.2.0 production cluster. We specify quite a small operations timeout
(10 ms) overriding net.spy.memcached.ConnectionFactory.getOperationTimeout() to
comply with production requirements.
The problem is that initial auth operation issued in
AuthThread.listSupportedSASLMechanisms() fails with timeout in
net.spy.memcached.protocol.BaseOperationImpl.isTimedOut() and
listSupportedSASLMechanisms() returns null, making AuthThread.run() to throw
throw new IllegalStateException("Got empty SASL auth mech list."). As the
result, the thread exits and the node will forever stay unauthenticated so no
single request will ever be processed.
Exception in thread "Thread-108" java.lang.IllegalStateException: Got empty
SASL auth mech list.
at net.spy.memcached.auth.AuthThread.run(AuthThread.java:149)
We're using Couchbase client 1.4.2 with Spymemcached 2.11.3 to connect to Couchbase 2.2.0 production cluster. We specify quite a small operations timeout (10 ms) overriding net.spy.memcached.ConnectionFactory.getOperationTimeout() to comply with production requirements.
The problem is that initial auth operation issued in AuthThread.listSupportedSASLMechanisms() fails with timeout in net.spy.memcached.protocol.BaseOperationImpl.isTimedOut() and listSupportedSASLMechanisms() returns null, making AuthThread.run() to throw throw new IllegalStateException("Got empty SASL auth mech list."). As the result, the thread exits and the node will forever stay unauthenticated so no single request will ever be processed.
Exception in thread "Thread-108" java.lang.IllegalStateException: Got empty SASL auth mech list. at net.spy.memcached.auth.AuthThread.run(AuthThread.java:149)