Cannot retrieve values from memcached bucket, neither from Rest nor Java api


#1

In couchbase buckets, you just need to send a get request like this:

SERVER_IP:8091/couchBase/COUCHBASE_BUCKET_NAME/KEY

and the value is returned.

I have a memcached value, and even though i have the keys, i cannot extract any values. When in “COUCHBASE_BUCKET” i put the name of the memcached bucket i get 404 not found.

i tried a lot of variations like /pools/buckets, or pools/default/bucket before memcached bucket name, but with no success. This regarding the REST API.

i used also the java sdk, with no success. in detail: I use client.get(KEY), where KEY is the string key, the way I see it in Top keys table, via the HTTP page , for the specific bucket. The error I am getting is this: WARN net.spy.memcached.transcoders.SerializingTranscoder: Undecodeable with flags fa00 return object is null. This means that the memcached bucket seems to have an alternative behavior.

Any help would be deeply appreciated


#2

from the application server when you run #curl http://ip_address_of_couchbase:8091/pools/default -u Administrator:password

what do you get?