Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 56 by markiewiczr89: Client cannot reconnect after missing few DWA
http://code.google.com/p/jdiameter/issues/detail?id=56

What steps will reproduce the problem?
1. Make valid connection between two peers (one act as a client and one as a server) 2. Simulate network problem without disconnection e.g add breakpoint in sendDwaMessage method on server side
3. After at least two timeouted DWA remove breakpoint on server side

What is the expected output? What do you see instead?
Expected behaviour of client peer is to reconnect without any problem, but instead it fall in vicious circle between state REOPEN and INITIAL. After first missed DWA, client goes to SUSPECT state (wait for DWA). In SUSPECT state we get next timeout and client is switched to REOPEN state. In REOPEN state client unsuccessfully try to switch to OKAY state (send CER, which hit the server, server reply by CEA message). Unfortunately, client doesn't read CEA from TCP socket and gets timeout (reset connection in server). Client again goes to REOPEN state (this will repeat until we send kill signal to client). I attached logs of this situation and clearly we can see that TCPReader thread do nothing after send CER message, so client doesn't know about server responses.

What version of the product are you using? On what operating system?
JDiameter 1.6.0-SNAPSHOT
Linux 3.2.0-60-generic x86_64
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.4 LTS
Release:        12.04
Codename:       precise

Attachments:
        jdiameter-logs.txt  19.1 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to