Hi Piotr, This is actually just a badly worded log - I'll fix this up. It's saying that a HttpConnection class has been created for communicating with Homestead, and it will treat responses that take longer than 500ms as timeouts.
Are you seeing any other problems connecting Sprout and Homestead? Ellie -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Piotr Kurpiel Sent: 15 March 2015 18:18 To: [email protected] Subject: [Clearwater] Sprout cannot connect to homestead Hi All, I'm trying to set up a manual installation. Currently at the stage where bot homestead & sprout are running fine in standalone mode. However logs in sprout during startup suggest that homestead is not connected (response timeout). Here are the logs: 15-03-2015 17:58:57.188 UTC Debug httpresolver.cpp:45: Creating HTTP resolver 15-03-2015 17:58:57.188 UTC Debug baseresolver.cpp:85: Create black list 15-03-2015 17:58:57.188 UTC Status httpresolver.cpp:50: Created HTTP resolver 15-03-2015 17:58:57.188 UTC Verbose pjsip: sip_endpoint.c Module "mod-options" registered 15-03-2015 17:58:57.188 UTC Status main.cpp:1488: Creating connection to HSS hs.metasw:8888 15-03-2015 17:58:57.191 UTC Debug statistic.cpp:48: Creating connected_homesteads statistic reporter 15-03-2015 17:58:57.191 UTC Debug zmq_lvc.cpp:136: Initializing inproc://client_count statistic listener 15-03-2015 17:58:57.192 UTC Debug zmq_lvc.cpp:136: Initializing inproc://connected_homers statistic listener 15-03-2015 17:58:57.192 UTC Debug zmq_lvc.cpp:136: Initializing inproc://connected_homesteads statistic listener 15-03-2015 17:58:57.192 UTC Debug zmq_lvc.cpp:136: Initializing inproc://connected_sprouts statistic listener 15-03-2015 17:58:57.192 UTC Debug zmq_lvc.cpp:136: Initializing inproc://latency_us statistic listener 15-03-2015 17:58:57.192 UTC Debug zmq_lvc.cpp:136: Initializing inproc://hss_latency_us statistic listener 15-03-2015 17:58:57.193 UTC Debug zmq_lvc.cpp:136: Initializing inproc://hss_digest_latency_us statistic listener 15-03-2015 17:58:57.193 UTC Debug zmq_lvc.cpp:136: Initializing inproc://hss_subscription_latency_us statistic listener 15-03-2015 17:58:57.193 UTC Debug zmq_lvc.cpp:136: Initializing inproc://xdm_latency_us statistic listener 15-03-2015 17:58:57.193 UTC Debug zmq_lvc.cpp:136: Initializing inproc://incoming_requests statistic listener 15-03-2015 17:58:57.194 UTC Debug zmq_lvc.cpp:136: Initializing inproc://rejected_overload statistic listener 15-03-2015 17:58:57.194 UTC Debug zmq_lvc.cpp:136: Initializing inproc://queue_size statistic listener 15-03-2015 17:58:57.194 UTC Debug zmq_lvc.cpp:136: Initializing inproc://hss_user_auth_latency_us statistic listener 15-03-2015 17:58:57.194 UTC Debug zmq_lvc.cpp:136: Initializing inproc://hss_location_latency_us statistic listener 15-03-2015 17:58:57.194 UTC Debug zmq_lvc.cpp:136: Initializing inproc://connected_ralfs statistic listener 15-03-2015 17:58:57.195 UTC Debug zmq_lvc.cpp:136: Initializing inproc://cdiv_total statistic listener 15-03-2015 17:58:57.195 UTC Debug zmq_lvc.cpp:136: Initializing inproc://cdiv_unconditional statistic listener 15-03-2015 17:58:57.195 UTC Debug zmq_lvc.cpp:136: Initializing inproc://cdiv_busy statistic listener 15-03-2015 17:58:57.195 UTC Debug zmq_lvc.cpp:136: Initializing inproc://cdiv_not_registered statistic listener 15-03-2015 17:58:57.196 UTC Debug zmq_lvc.cpp:136: Initializing inproc://cdiv_no_answer statistic listener 15-03-2015 17:58:57.196 UTC Debug zmq_lvc.cpp:136: Initializing inproc://cdiv_not_reachable statistic listener 15-03-2015 17:58:57.196 UTC Debug zmq_lvc.cpp:136: Initializing inproc://memento_completed_calls statistic listener 15-03-2015 17:58:57.196 UTC Debug zmq_lvc.cpp:136: Initializing inproc://memento_failed_calls statistic listener 15-03-2015 17:58:57.196 UTC Debug zmq_lvc.cpp:136: Initializing inproc://memento_not_recorded_overload statistic listener 15-03-2015 17:58:57.197 UTC Debug zmq_lvc.cpp:136: Initializing inproc://memento_cassandra_read_latency statistic listener 15-03-2015 17:58:57.197 UTC Debug zmq_lvc.cpp:136: Initializing inproc://memento_cassandra_write_latency statistic listener 15-03-2015 17:58:57.197 UTC Debug zmq_lvc.cpp:144: Enabled XPUB_VERBOSE mode 15-03-2015 17:58:57.197 UTC Status httpconnection.cpp:120: HttpConnection for server hs.metasw:8888 15-03-2015 17:58:57.197 UTC Status httpconnection.cpp:121: Response timeout: 500 15-03-2015 17:58:57.197 UTC Debug statistic.cpp:48: Creating hss_latency_us statistic reporter 15-03-2015 17:58:57.198 UTC Debug statistic.cpp:48: Creating hss_digest_latency_us statistic reporter 15-03-2015 17:58:57.198 UTC Debug statistic.cpp:48: Creating hss_subscription_latency_us statistic reporter 15-03-2015 17:58:57.199 UTC Debug statistic.cpp:48: Creating hss_user_auth_latency_us statistic reporter 15-03-2015 17:58:57.199 UTC Debug statistic.cpp:48: Creating hss_location_latency_us statistic reporter 15-03-2015 17:58:57.200 UTC Status main.cpp:1527: Creating connection to Chronos chronos.metasw:7253 using 127.0.0.1:9888 as the callback URI No traffic visible at DNS nor Homestead from Sprout... The process is started as: sprout 32320 1 0 18:58 ? 00:00:07 /usr/share/clearwater/bin/sprout --domain=metasw --localhost=10.159.255.28 --realm=metasw --memstore=/etc/clearwater/cluster_settings --hss=hs.metasw:8888 --chronos=chronos.metasw:7253 --sas=0.0.0.0,[email protected] --dns-server=10.159.255.45 --pjsip-threads=1 --worker-threads=50 --http-threads=50 --record-routing-model=pcscf --default-session-expires=600 --authentication --http-address=10.159.255.28 --http-port=9888 --analytics=/var/log/sprout --log-file=/var/log/sprout --log-level=5 --scscf=5054 --scscf-uri=sip:sprout.metasw:5054;transport=TCP --icscf=5052 DNS reachable and having correct entry: root@sprout:/var/log/sprout# dig hs.metasw @10.159.255.45 ; <<>> DiG 9.8.1-P1 <<>> hs.metasw @10.159.255.45 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52590 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;hs.metasw. IN A ;; ANSWER SECTION: hs.metasw. 604800 IN A 10.159.255.32 ;; AUTHORITY SECTION: metasw. 604800 IN NS ns1.metasw. ;; ADDITIONAL SECTION: ns1.metasw. 604800 IN A 10.159.255.45 ;; Query time: 7 msec ;; SERVER: 10.159.255.45#53(10.159.255.45) ;; WHEN: Sun Mar 15 19:14:20 2015 ;; MSG SIZE rcvd: 77 And: root@sprout:/var/log/sprout# cat /var/run/dnsmasq/resolv.conf nameserver 10.159.255.45 Would appreciate help as I'm stuck. Piotr _______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/listinfo/clearwater _______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/listinfo/clearwater
