Re: SASL Configuration

2017-04-26 Thread watul123
https://blog.couchbase.com/sasl-memcached-now-available/ On Wednesday, December 16, 2015 at 8:14:34 PM UTC-8, Cody Robertson wrote: > > Hello! > > I'm having difficulty finding information on where I can configure some of > the SASL options (mechanisms, etc). Can anyone point me in the right >

Re: Memcached Binary protocol

2017-04-26 Thread watul123
Yes I am 100% sure. When the binary protocol is in picture then only this happens, otherwise same test program with same argument runs perfect. I debugged a lot before posting to this group. I am with you on the fact the binary protocol has nothing to do with the timeouts, but it is the one cau

Re: Memcached Binary protocol

2017-04-26 Thread watul123
otocol, but it's > hard to say from here. Somehow you're writing fewer bytes to the socket > than you told the binary protocol to receive. > > On Wed, 26 Apr 2017, watul123 wrote: > > > Yes I am 100% sure. > > When the binary protocol is in picture then only t

Re: Memcached Binary protocol

2017-04-26 Thread watul123
*probably* something in > your program, but I won't rule out a bug on the server either. The binary > protocol is in heavy usage in a bunch of places though. > > On Wed, 26 Apr 2017, watul123 wrote: > > > I can test with large string quickly. In the test app I may be

Re: Memcached Binary protocol

2017-04-26 Thread watul123
26, 2017 at 10:50:33 PM UTC-7, Dormando wrote: > > Your key isn't over 256 bytes is it? > > On Wed, 26 Apr 2017, watul123 wrote: > > > Ok, thanks. Let me debug in that direction. I will update the thread > with my findings. > > > > BTW, if I increase the le

Re: Memcached Binary protocol

2017-04-26 Thread watul123
now I need to move to SASL again. *Dormando, thank you so much for your help, really appreciate it. * Thanks again, Atul On Wednesday, April 26, 2017 at 10:55:25 PM UTC-7, watul123 wrote: > > No, its just like below > > const char* key = "abczadfg"; > const char* v

Re: Memcached Binary protocol

2017-04-26 Thread watul123
g from conn_parse_cmd to conn_mwrite 36: going from conn_mwrite to conn_closing <36 connection closed. 36: going from conn_closing to conn_closed On Wednesday, April 26, 2017 at 11:08:45 PM UTC-7, Dormando wrote: > > How long are they when you get connection failure? > > On We

Re: Memcached Binary protocol

2017-04-29 Thread watul123
t; checked when the connection is first established. All requests after the > connection setup is fine. > > On Wed, 26 Apr 2017, watul123 wrote: > > > I think the binary protocol just works as expected, there is nothing to > do with length as well, it was my test p

Re: Memcached Binary protocol

2017-05-02 Thread watul123
00 >36 0x00 0x00 0x00 0x00 >36 0x00 0x00 0x00 0x00 36: going from conn_parse_cmd to conn_mwrite 36: going from conn_mwrite to conn_new_cmd 36: going from conn_new_cmd to conn_waiting 36: going from conn_waiting to conn_read *36: going from conn_read to conn_closing* <36 connection closed.

Memcached with SASL port is going offline with wrong credentials

2017-05-09 Thread watul123
Offline means your application which trying to connect to mecached server getting the "server temporary disabled" as return value? Which is 47 I believe. If this is the case then its expected behavior, after some consecutive attempts to connect to server with invalid username/password sever get

Re: Memcached with SASL port is going offline with wrong credentials

2017-05-10 Thread watul123
The message is from your application log and not from memcached. The thing you want to achieve is absolutely possible. Have you checked the actual state of the memcached? You may want to run your memcached demon in verbose(-vvv) mode, that will give you(us) some more infromation. -- --- Yo

Re: Memcached with SASL port is going offline with wrong credentials

2017-05-16 Thread watul123
Can you please share memcached verbose logs? -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to memcached+unsubscr...@googlegroups.com. For more options, visit h

Re: Memcached with SASL port is going offline with wrong credentials

2017-05-18 Thread watul123
I don't see anything towards the end of log which says the server is stopped or anything like that. I am not sure what do you mean by memcached server goes offline?. Can you check the status of memcached port using "netstat -an | grep 11211 on the memcached server? Is it still listening? You c

MEMCACHED_SERVER_TEMPORARILY_DISABLED issue

2018-03-06 Thread watul123
Hi, Sometime my application start getting the error code 47, which is MEMCACHED_SERVER_TEMPORARILY_DISABLED, from this point onward my application continuously gets the same error code whenever it tries to set/get from memcached server. The only solution is to restart memcached. Question: is

Re: MEMCACHED_SERVER_TEMPORARILY_DISABLED issue

2018-03-07 Thread watul123
ion? If I had to guess you might be leaking client connections and > running it out of sockets. there's no behavioral flag to fix that. > > On Tue, 6 Mar 2018, watul123 wrote: > > > Hi, > > > > Sometime my application start getting the error code 47, which