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

New issue 3257 by [email protected]: Client is closing read thread before receiving CEA
http://code.google.com/p/mobicents/issues/detail?id=3257

What steps will reproduce the problem?
1.Start Diameter Server
2.Start Diameter Client and send CER
3.Start another Diameter Client right after the previous one and send CER

What is the expected output? What do you see instead?
Both clients should open server sockets and communicate with server. Instead of that the first client can connect wheras the second one is closing read thread while waiting for CEA. I don't know if it's a client or server problem.

What version of the product are you using? On what operating system?
I am using jDiameter API: jdiameter-api-1.5.9.0-build537
and jDiameter Impl: jdiameter-impl-1.5.9.0-build537 and all of the others jars required for stack to work properly.

Please provide any additional information below.

Those are logs from Clients console:

Starting first client:
174 [main] INFO org.jdiameter.client.impl.StackImpl - (-)(-)(-)(-)(-) Starting ${vendor} DIAMETER Stack v${pom.version} (-)(-)(-)(-)(-) 347 [main] WARN org.jdiameter.common.impl.validation.DictionaryImpl - Failed to initialize and configure Diameter Dictionary since configuration file was not found. Validator is disabled. 405 [main] INFO org.jdiameter.client.impl.StackImpl - (-)(-)(-)(-)(-) Started ${vendor} DIAMETER Stack v${pom.version} (-)(-)(-)(-)(-)

Successful connection:
542 [main] INFO org.jdiameter.server.impl.io.tcp.NetworkGuard - Open server socket ServerSocket[addr=/127.0.0.1,localport=1812]

Starting second client:
830 [main] INFO org.jdiameter.client.impl.StackImpl - (-)(-)(-)(-)(-) Starting ${vendor} DIAMETER Stack v${pom.version} (-)(-)(-)(-)(-) 838 [main] INFO org.jdiameter.client.impl.StackImpl - (-)(-)(-)(-)(-) Started ${vendor} DIAMETER Stack v${pom.version} (-)(-)(-)(-)(-)

Unexpected info:
1045 [TCPReader-2] INFO org.jdiameter.client.impl.transport.tcp.TCPTransportClient - Read thread is stopped for socket [Socket[addr=localhost/127.0.0.1,port=3868,localport=38950]]


On the server side:

195 [main] INFO org.jdiameter.client.impl.StackImpl - (-)(-)(-)(-)(-) Starting ${vendor} DIAMETER Stack v${pom.version} (-)(-)(-)(-)(-) 367 [main] WARN org.jdiameter.common.impl.validation.DictionaryImpl - Failed to initialize and configure Diameter Dictionary since configuration file was not found. Validator is disabled. 397 [main] INFO org.jdiameter.client.impl.StackImpl - (-)(-)(-)(-)(-) Started ${vendor} DIAMETER Stack v${pom.version} (-)(-)(-)(-)(-) 433 [main] INFO org.jdiameter.server.impl.io.tcp.NetworkGuard - Open server socket ServerSocket[addr=/127.0.0.1,localport=3868]

Connection from first client:
4907 [NetworkGuard-0] INFO org.jdiameter.server.impl.io.tcp.NetworkGuard - Open incomming connection Socket[addr=/127.0.0.1,port=37363,localport=3868

Connection from second client:
5297 [NetworkGuard-0] INFO org.jdiameter.server.impl.io.tcp.NetworkGuard - Open incomming connection Socket[addr=/127.0.0.1,port=38950,localport=3868]

Unexpected info:
5499 [TCPReader-3] INFO org.jdiameter.client.impl.transport.tcp.TCPTransportClient - Read thread is stopped for socket [Socket[addr=/127.0.0.1,port=38950,localport=3868]]


Thank you for your help and I am sorry for poor grammar

Reply via email to