Hi all,

I am experiencing problem with message delivery from Dealer (as client) to 
Router (as server).
Dealer and Router are configured to use Curve.
I am using ZMQ 4.0.3. Server is running on Centos x64. Client is running on 
Windows 7.


Usually everything works OK. But eventually one client fails to deliver any 
message to server.


Client invokes connect() on socket, sleeps for 5 seconds and sends 12 identical 
messages 
(['Session']['']['StartSession']['7E60B46D-77BC-4E57-A8FC-D81C0C9076CD']).
All incoming messages from Router are written to log file.


>From server application logs and tcpdump logs I see that ZAP attempt was 
>successful:

2014-04-03T08:35:56.693Z +0000 Broker backend message: 
['2']['AUTH']['^@*<E8><94>\']['']['9715451C-BB3F-48EA-88AC-8D5E15E598DD']['1.0']['1']['200']['OK']['']['']
2014-04-03T08:35:56.693Z +0000 Bind 9715451C-BB3F-48EA-88AC-8D5E15E598DD to 
worker 2

08:35:56.578731 IP 10.25.240.109.t2-brm > 10.25.240.17.7780: Flags [P.], seq 
65:267, ack 65, win 8204, options [nop,nop,TS val 589638071 ecr 491306048], 
length 202
@...HELLO........................................................
08:35:56.578749 IP 10.25.240.17.7780 > 10.25.240.109.t2-brm: Flags [.], ack 
267, win 122, options [nop,nop,TS val 491306119 ecr 589638071], length 0
.H..#%)....WELCOMEU.....l.G".b...^....T.........m.."...........]
08:35:56.660713 IP 10.25.240.109.t2-brm > 10.25.240.17.7780: Flags [P.], seq 
267:604, ack 235, win 8193, options [nop,nop,TS val 589638152 ecr 491306120], 
length 337
#%*..H..........H.INITIATE..7A....P......m..W.cm.y,.b..P
08:35:56.693264 IP 10.25.240.17.7780 > 10.25.240.109.t2-brm: Flags [P.], seq 
235:302, ack 604, win 130, options [nop,nop,TS val 491306234 ecr 589638152], 
length 67
.H..#%*..A.READY..........b........d&YF......S..


And there are 12 client messages on server wire after 5 seconds:

08:36:01.395444 IP 10.25.240.109.t2-brm > 10.25.240.17.7780: Flags [P.], seq 
604:874, ack 302, win 8192, options [nop,nop,TS val 589642822 ecr 491306234], 
length 270
#%<F.H...(.MESSAGE4d277abfQ..@...$...r.TN..M~N.l...!.MESSAGE5d277abf....5.....*.nw....-.MESSAGE6d277abf.J....p....;[qJ.......BK..q.=.I.MESSAGE7d277abfc5.V.L....l
 \....5D..


But there are no any messages from client in server application log. Other 
clients connected to the same router socket continue to work.
Restart of client or server does not help.


I am stuck with it. Any help is highly appreciated.


Thanks a lot beforehand,
Stepan.

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to