Cannot Connect To Memcached Bucket After 5.0.1 Upgrade

I have moved from 4.x to 5.0.1 and memcached buckets created as previous are no longer accessible.

Previously I would use the following curl command to create a memcached bucket:

curl -u ${USERNAME}:${PASSWORD} -v
-X POST http://${CONNECTION}/pools/default/buckets
-d threadsNumber=4
-d flushEnabled=0
-d replicaNumber=0
-d evictionPolicy=valueOnly
-d ramQuotaMB=${RAM_QUOTA}
-d bucketType=couchbase
-d name=${BUCKET_NAME}
-d authType=sasl

I have modified this command slightly for 5.0.1

curl -u ${USERNAME}:${PASSWORD} -v
-X POST http://${CONNECTION}/pools/default/buckets
-d threadsNumber=4
-d flushEnabled=0
-d replicaNumber=0
-d evictionPolicy=valueOnly
-d ramQuotaMB=${RAM_QUOTA}
-d bucketType=memcached
-d name=${BUCKET_NAME}
-d authType=none

Which will create a memcached bucket however, when I try to connect it immediately disconnects as follows:

telnet localhost 11211
Trying ::1…
Connected to localhost.
Escape character is ‘^]’.
Connection closed by foreign host.

Hi!

What is the value of your ${CONNECTION} variable? Can you confirm if it is pointing to 8091? Looks like you could not even authenticate.

The ${CONNECTION} variable does point to 8091. The bucket is created just fine, it shows up in the administration tool as a memcached bucket and appears to be functional.

The only difference is that in 4.x I was able to connect via the memcache port after running that create command and in 5.0.1 I am not. The server accepts but immediately disconnects.