Hi Salil, 

The 401 disconnection is a 401 response sent as part of a REGISTER flow. In an 
initial registration, we expect the client to do a REGISTER with no 
authentication credentials. This then gets rejected with a 401 (which contains 
a WWW-authenticate header). The client will then resend the REGISTER with the 
appropriate authorization. Clearwater will then accept this and return a 200 OK.

The 0 disconnection corresponds to a BYE.

The sprout errors show that Sprout is attempting to send an ACR to Ralf, and 
this is failing. Do you have a Ralf and a CDF (not part of Project Clearwater) 
in your deployment? If you don't then you can remove the ralf_hostname setting 
from your /etc/clearwater/config on Sprout and Bono. 

I think the successful_call count=0 is a SIPP quirk. The 'call' is the stress 
scenario of REGISTERs and INVITEs (in the call_load2.xml script), rather than 
an individual call made as part of the stress test. This is looped, and so 
never finishes - so both successful and failed calls are 0. Can you please send 
me the logs from your stress run though (in /var/log/clearwater-sip-stress/*) 
and I'll take a look through them.

Ellie


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Salil 
Sharma
Sent: 12 February 2015 00:01
To: [email protected]
Subject: [Clearwater] Stress Test query

Dear Developers,

While stress testing clearwater with clearwater-sip-stress on an aio setup, I 
checked my bono logs and I am sharing some of them with you, kindly explain me, 
what is the difference REASON=401 & REASON=0, call disconnection.

08-02-2015 09:05:33.079 UTC Call-Connected: FROM=sip:[email protected]  
TO=sip:[email protected]_ID=2010000010-1.000000///
[email protected]

08-02-2015 09:05:33.580 UTC Call-Disconnected: CALL_ID=2010000032///
[email protected] REASON=401

08-02-2015 09:05:33.588 UTC Call-Disconnected: CALL_ID=2010000033///
[email protected] REASON=401

08-02-2015 09:05:57.127 UTC Call-Disconnected:
CALL_ID=2010000010-1.000000///[email protected] REASON=0


Some sprout logs are as follows;- (Kindly explain them, and what is the 
solution to this)

08-02-2015 09:01:28.132 UTC Error httpconnection.cpp:573:
http://192.168.2.18:10888/call-id/2010000028%2F%2F%2F11-12402%40192.168.4.60
failed
at server 192.168.2.18 : Couldn't connect to server (7) : fatal

08-02-2015 09:01:28.132 UTC Error httpconnection.cpp:688: cURL failure with 
cURL error code 7 (see man 3 libcurl-errors) and HTTP error code 404

08-02-2015 09:01:28.132 UTC Warning acr.cpp:627: Failed to send Ralf ACR 
message (0x7f2fc03dfa70), rc = 404

08-02-2015 09:01:28.133 UTC Error httpconnection.cpp:573:
http://192.168.2.18:10888/call-id/2010000028%2F%2F%2F11-12402%40192.168.4.60
failed
at server 192.168.2.18 : Couldn't connect to server (7) : fatal

08-02-2015 09:01:28.134 UTC Error httpconnection.cpp:688: cURL failure with 
cURL error code 7 (see man 3 libcurl-errors) and HTTP error code 404

08-02-2015 09:01:28.134 UTC Warning acr.cpp:627: Failed to send Ralf ACR 
message (0x7f2fb04a3880), rc = 404

08-02-2015 09:01:28.134 UTC Error httpconnection.cpp:573:
http://192.168.2.18:10888/call-id/2010000028%2F%2F%2F11-12402%40192.168.4.60
failed
at server 192.168.2.18 : Couldn't connect to server (7) : fatal

08-02-2015 09:01:28.134 UTC Error httpconnection.cpp:688: cURL failure with 
cURL error code 7 (see man 3 libcurl-errors) and HTTP error code 404

At the same time homer logs speak as

2015-02-08 09:05:27,064 UTC INFO base:246 Received request from localhost - GET 
http://http_homer/org.etsi.ngn.simservs/users/sip%3A2010000010%40example.com/simservs.xml
2015-02-08 09:05:27,065 UTC INFO base:259 Sending 200 response to localhost for 
GET 
http://http_homer/org.etsi.ngn.simservs/users/sip%3A2010000010%40example.com/simservs.xml
2015-02-08 09:05:27,068 UTC INFO base:246 Received request from localhost - GET 
http://http_homer/org.etsi.ngn.simservs/users/sip%3A2010000011%40example.com/simservs.xml
2015-02-08 09:05:27,070 UTC INFO base:259 Sending 200 response to localhost for 
GET 
http://http_homer/org.etsi.ngn.simservs/users/sip%3A2010000011%40example.com/simservs.xml

At homestead
08-02-2015 09:05:27.063 UTC 200 PUT /impu/sip%3A2010000010% 
40example.com/reg-data 0.001471 seconds
08-02-2015 09:05:27.066 UTC 200 GET /impu/sip%3A2010000011% 
40example.com/location 0.000022 seconds
08-02-2015 09:05:27.067 UTC 200 PUT /impu/sip%3A2010000011% 
40example.com/reg-data 0.001053 seconds
08-02-2015 09:05:27.072 UTC 200 PUT /impu/sip%3A2010000011% 
40example.com/reg-data 0.001784 seconds
08-02-2015 09:05:33.576 UTC 200 GET /impi/2010000032% 
40example.com/registration-status 0.000024 seconds
08-02-2015 09:05:33.578 UTC 200 GET /impi/2010000032%40example.com/av 0.001082 
seconds
08-02-2015 09:05:33.581 UTC 200 GET /impi/2010000032% 
40example.com/registration-status 0.000017 seconds
08-02-2015 09:05:33.582 UTC 200 PUT /impu/sip%3A2010000032% 
40example.com/reg-data 0.000986 seconds

Secondly, I have noticed this that how small value you take it as 'count', and 
how longer I run the test, I never get a successful call. I tried with 
count=50, and ran the wireshark in background, recorded the sip-flow, and 
observed that:- 1. Registration do take place 2. 200 OK is received 3. counts & 
other files get update for the clearwater-sip-stress (in logs) 4. But the Call 
Target=25, remains constant, so does the successful call=0 remains. (I ran it 
for more than 2 hrs).

I don't know where is the problem. I am really doing it correct or did I 
escaped some part.

--
Salil Sharma
* <[email protected]>*
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater

Reply via email to