HI Matt/Shane,
I have written a test client referring nsq-pubsub, but I am getting following error on nsqd
can you please help with debugging? I am attaching code as well.
ajay-HP-ProBook-4445s:nsqd# nsqd
[nsqd] 2015/06/23 00:13:36.913012 nsqd v0.3.5 (built w/go1.4.2)
[nsqd] 2015/06/23 00:13:36.913174 ID: 382
[nsqd] 2015/06/23 00:13:36.913639 TOPIC(test): created
[nsqd] 2015/06/23 00:13:36.915010 TOPIC(test): new channel(test)
[nsqd] 2015/06/23 00:13:36.920912 TOPIC(testTopic): created
[nsqd] 2015/06/23 00:13:36.924562 TOPIC(testTopic): new channel(testChannel)
[nsqd] 2015/06/23 00:13:36.924608 NSQ: persisting topic/channel metadata to nsqd.382.dat
[nsqd] 2015/06/23 00:13:36.925070 DISKQUEUE(testTopic:testChannel): readOne() opened testTopic:testChannel.diskqueue.000000.dat
[nsqd] 2015/06/23 00:13:36.969223 TCP: listening on [::]:4150
[nsqd] 2015/06/23 00:13:36.969292 HTTP: listening on [::]:4151
[nsqd] 2015/06/23 00:13:49.239614 TCP: new client(
127.0.0.1:59257)
[nsqd] 2015/06/23 00:13:49.239715 CLIENT(
127.0.0.1:59257): desired protocol magic ' V2'
[nsqd] 2015/06/23 00:13:49.240426 [
127.0.0.1:59257] IDENTIFY: {ShortID:ajay-HP-ProBook-4445s LongID:ajay-HP-ProBook-4445s ClientID:ajay-HP-ProBook-4445s Hostname:ajay-HP-ProBook-4445s HeartbeatInterval:30000 OutputBufferSize:16384 OutputBufferTimeout:250 FeatureNegotiation:true TLSv1:false Deflate:false DeflateLevel:6 Snappy:false SampleRate:0 UserAgent:nsq_pubsub/0.3.6-alpha go-nsq/1.0.5-alpha MsgTimeout:0}
[nsqd] 2015/06/23 00:14:49.241205 PROTOCOL(V2): [
127.0.0.1:59257] exiting ioloop
[nsqd] 2015/06/23 00:14:49.241265 ERROR: client(
127.0.0.1:59257) - failed to read command - read tcp
127.0.0.1:59257: i/o timeout
[nsqd] 2015/06/23 00:14:49.241279 PROTOCOL(V2): [
127.0.0.1:59257] exiting messagePump