Hi,

I just installed AIO clearwater ovf image and having issue with SIP
registration. I don't have external HSS. Listing some of the debugging
steps so far:

Step 1: Sprout Log shows 'Failed to get authentication Vector'

04-04-2014 00:53:50.734 Error httpconnection.cpp:407:
http://192.168.10.100:8888/impi/6505550138/av?impu=sip%3A6505550138%40example.comfailed
at server 192.168.10.100 : HTTP response code said error (22 502) :
fatal
04-04-2014 00:53:50.734 Error httpconnection.cpp:445: cURL failure with
cURL error code 22 (see man 3 libcurl-errors) and HTTP error code 502
04-04-2014 00:53:50.734 Error hssconnection.cpp:160: Failed to get
Authentication Vector for 6505550138
04-04-2014 00:53:50.740 Error httpconnection.cpp:407:
http://192.168.10.100:8888/impi/6505550138/av?impu=sip%3A6505550138%40example.comfailed
at server 192.168.10.100 : HTTP response code said error (22 502) :
fatal
04-04-2014 00:53:50.740 Error httpconnection.cpp:445: cURL failure with
cURL error code 22 (see man 3 libcurl-errors) and HTTP error code 502
04-04-2014 00:53:50.740 Error hssconnection.cpp:160: Failed to get
Authentication Vector for 6505550138

Step 2: Tried to isolate further with curl, but one gets '502 Bad Gateway'

[cw-aio]ubuntu@cw-aio:/var/log/sprout$ curl -v
http://192.168.10.100:8888/impi/6505550138/av?impu=sip%3A6505550138%40192.168.10.100
* About to connect() to 192.168.10.100 port 8888 (#0)
*   Trying 192.168.10.100... connected
> GET /impi/6505550138/av?impu=sip%3A6505550138%40192.168.10.100 HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0
OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: 192.168.10.100:8888
> Accept: */*
>
< HTTP/1.1 502 Bad Gateway
< Content-Length: 0
<
* Connection #0 to host 192.168.10.100 left intact
* Closing connection #0
[cw-aio]ubuntu@cw-aio:/var/log/sprout$ curl -v
http://192.168.10.100:8888/impi/6505550138/av?impu=sip%3A6505550138%40example.com
* About to connect() to 192.168.10.100 port 8888 (#0)
*   Trying 192.168.10.100... connected
> GET /impi/6505550138/av?impu=sip%3A6505550138%40example.com HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0
OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: 192.168.10.100:8888
> Accept: */*
>
< HTTP/1.1 502 Bad Gateway
< Content-Length: 0
<
* Connection #0 to host 192.168.10.100 left intact
* Closing connection #0

Step 4: Homestead logs shows that cache request is failing.

04-04-2014 01:17:07.065 Error cache.cpp:367: Cache request failed: rc=2,
Row 6505550138 not present in column_family impi

Step 3: The database seems to have been populated appropriately with user
6505550138. Here is:

cqlsh:homestead_cache> select * from impi;

 private_id             | digest_ha1
   | digest_qop | digest_realm | known_preferred
------------------------+----------------------------------+------------+--------------+-----------------
 [email protected] | a926895d192e25f981e7a5cd9214041b |       auth |
example.com |            True
 [email protected] | 8e4460526e8c55118a93af8c538c7a04 |       auth |
example.com |            True
 [email protected] | 2d05260f460706c0e89116fbe569cc28 |       auth |
example.com |            True
 [email protected] | 30895e7acfccf108b399b8ef61b75ba8 |       auth |
example.com |            True
 [email protected] | a9e1295baa5a30904c798053e94c50a6 |       auth |
example.com |            True
 [email protected] | 49e50759a6e43820a7bb68d5ea3a8536 |       auth |
example.com |            True


Step 4: Homestead seems to be running fine.

[cw-aio]ubuntu@cw-aio:/etc/
clearwater$ sudo netstat -anp | grep 8888
[sudo] password for ubuntu:
tcp        0      0 192.168.10.100:8888     0.0.0.0:*
LISTEN      1753/homestead
tcp        0      0 192.168.10.100:8888     192.168.10.100:36149
ESTABLISHED 1753/homestead
tcp        0      0 192.168.10.100:39411    192.168.10.100:8888
TIME_WAIT   -
tcp        0      0 192.168.10.100:36143    192.168.10.100:8888
ESTABLISHED 1591/sprout
tcp        0      0 192.168.10.100:39429    192.168.10.100:8888
TIME_WAIT   -
tcp        0      0 192.168.10.100:39420    192.168.10.100:8888
TIME_WAIT   -
tcp        0      0 192.168.10.100:39440    192.168.10.100:8888
TIME_WAIT   -
tcp        0      0 192.168.10.100:8888     192.168.10.100:36143
ESTABLISHED 1753/homestead
tcp        0      0 192.168.10.100:39395    192.168.10.100:8888
TIME_WAIT   -
tcp        0      0 192.168.10.100:39403    192.168.10.100:8888
TIME_WAIT   -
tcp        0      0 192.168.10.100:36149    192.168.10.100:8888
ESTABLISHED 1591/sprout


Can you suitable guide on how to isolate / resolve this further?

Version details:

[cw-aio]ubuntu@cw-aio:/var/log/homestead$ uname -a
Linux cw-aio 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

thanks!
Raminder
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater

Reply via email to