Hi David, One reason this could happen is that the initial write to Chronos fails, meaning that it never tells sprout when the registrations expire.
Can you check if you are seeing any logs in sprout (in /var/log/sprout/) of the form "Error httpconnection.cpp:536: http://localhost:7253/timers/00f90c494000001b0000060108108000 failed at server 127.0.0.1 : Couldn't connect to server"? Can you also check the chronos logs (/var/log/chronos) and the monit logs (/var/log/monit.log) for any reported errors? If there isn't a problem with Chronos, then can you look in the debug logs for Sprout/Homestead for reported errors. Sprout and Homestead logs are in /var/log/sprout and /var/log/homestead, and to set the logs to debug level you will need to create/edit the file /etc/clearwater/user_settings, add log_level=5, and then run "service <sprout/homestead> stop" to restart the sprout/homestead servers (they're automatically restarted by monit). Also, what version of sprout are you running ("dpkg-query -W sprout")? Ellie -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Luong, David Sent: 24 April 2014 21:11 To: [email protected] Subject: [Clearwater] Registrar doesn't update HSS for registrations that have expired Hi, According to the following snippet of code in sprout/handlers.cpp, the HSS should receive a SAR with Server-Assignment-Type AVP set to value TIMEOUT_DEREGISTRATION when a registration expires. However we do not see any SAR being sent from homestead. Is this a known issue? Any help is appreciated. if (all_bindings_expired) { //LCOV_EXCL_START LOG_DEBUG("All bindings have expired based on a Chronos callback - triggering deregistration at the HSS"); _cfg->_hss->update_registration_state(_aor_id, "", HSSConnection::DEREG_TIMEOUT, 0); //LCOV_EXCL_STOP } Regards. David. _______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/listinfo/clearwater _______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/listinfo/clearwater
