Hi Priyanka,

That's correct. You can run homestead interactively using 
'LD_LIBRARY_PATH=usr/lib:$LD_LIBRARY_PATH build/bin/homestead' in the top level 
Homestead directory. You can see what parameters are available by passing '-h', 
and you can find out more information about these options at 
http://clearwater.readthedocs.org/en/latest/Clearwater_Configuration_Options_Reference/index.html.

What are you using Clearwater for? You can also just install Clearwater from 
debian packages - see 
http://clearwater.readthedocs.org/en/latest/Manual_Install/index.html for more 
details.

Ellie

From: Clearwater [mailto:[email protected]] On 
Behalf Of Priyanka
Sent: 27 July 2015 08:27
To: [email protected]
Subject: Re: [Clearwater] sprout cannot connect to homestead

Hi Ellie,

Thanks a lot. So on homestead I need to do make run in crest folder and run 
homestead interactively? What is the command to run homestead interactively.

Thanks,

Priyanka

On Wednesday 22 July 2015 10:45 PM, Eleanor Merry wrote:

Hi Priyanka,



It looks like you're only running Homestead-prov 
(https://github.com/Metaswitch/crest/blob/dev/docs/homestead_prov_features.md), 
not Homestead itself 
(https://github.com/Metaswitch/homestead/blob/dev/docs/homestead_overview.md).



Homestead-prov is the provisioning interface to Homestead; it provides a 
restful HTTP interface for creating/deleting/querying subscribers. It is the 
Homestead process that is the HSS-cache (and so what Sprout connects to).



You can find the Homestead code at https://github.com/Metaswitch/homestead, and 
development details at 
https://github.com/Metaswitch/homestead/blob/dev/docs/development.md. You 
should collocate your Homestead and Homestead-prov processes (so they use the 
same underlying Cassandra database).



To delete all numbers on Homestead, run the following:



cqlsh



USE homestead_provisioning;

TRUNCATE public;

TRUNCATE private;

TRUNCATE service_profiles;

TRUNCATE implicit_registration_sets;



USE homestead_cache;

TRUNCATE impi;

TRUNCATE impu;

TRUNCATE impi_mapping;



To delete all numbers on Homer, run the following:



cqlsh



USE homer;

TRUNCATE simservs;



Ellie



-----Original Message-----

From: Clearwater [mailto:[email protected]] On 
Behalf Of Priyanka

Sent: 20 July 2015 14:03

To: 
[email protected]<mailto:[email protected]>

Subject: [Clearwater] sprout cannot connect to homestead



Hi,



I am unable to connect to homestead from sprout. The error I am getting on 
sprout is:



20-07-2015 11:33:11.632 UTC Error httpconnection.cpp:626:

http://192.168.1.55:8889/impu/sip%3Auser7%40ims.hom/reg-data?private_id=user7%40ims.hom

failed at server 192.168.1.55 : Timeout was reached (28) : fatal

20-07-2015 11:33:11.683 UTC Error httpconnection.cpp:626:

http://192.168.1.55:8889/impu/sip%3Auser7%40ims.hom/reg-data?private_id=user7%40ims.hom

failed at server 192.168.1.55 : Timeout was reached (28) : fatal

20-07-2015 11:33:11.683 UTC Error httpconnection.cpp:748: cURL failure with 
cURL error code 28 (see man 3 libcurl-errors) and HTTP error code 500

20-07-2015 11:33:11.683 UTC Error hssconnection.cpp:592: Could not get 
subscriber data from HSS

20-07-2015 11:33:11.683 UTC Error registrar.cpp:611: Rejecting register request 
with invalid public/private identity



where 192.168.1.55 is my homestead IP.



The command I run on sprout is:



LD_LIBRARY_PATH=usr/lib:$LD_LIBRARY_PATH build/bin/sprout -t --domain=ims.hom 
--scscf=5054 -l 192.168.1.53 --scscf-uri="sip:192.168.1.53:5054;transport=TCP"

--dns-server=192.168.1.40 --chronos=192.168.1.53 --hss=192.168.1.55:8889



I run homestead using:

cd crest/

sudo make run



sudo netstat -anp | grep 8889 on homestead does not show any process listening 
on that port even though the port is opened using ufw.



Also, How do I remove all users from the homestead as well as homer. I by 
mistakingly added same user twice.



Thanks,



Priyanka





_______________________________________________

Clearwater mailing list

[email protected]<mailto:[email protected]>

http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

Reply via email to