Hi Ellie,

From the FHoSS UI -> Application Server, i changed the Server Name from sip:192.168.1.91 to sip:[email protected]:5054;lr;transport=TCP.
After the changes, Connection refused logs in Sprout stopped.
Sharing to you the trace from Sprout.

Attachment: sprout_aug18_connectionRefusedToApplicationServerOk.pcap
Description: Binary data


Regards,
Dennis


On Aug 15, 2015, at 1:55 AM, Eleanor Merry <[email protected]> wrote:

Hi Dennis,
 
It looks from the network trace that Sprout is sending messages to Memento at sip:192.168.1.91;lr. Instead, you should set this tosip:[email protected]:5054;lr;transport=TCP (in your subscribers’ IFCs). Please seehttps://github.com/Metaswitch/memento/blob/dev/docs/memento_overview.md#configuration for more details
 
Ellie
 
From: Clearwater [mailto:[email protected]] On Behalf Of Dennis Diamsay
Sent: 12 August 2015 11:48
To: [email protected]
Subject: [Clearwater] SPROUT: Temporary failure in sending Request msg PUBLISH/cseq=10 (tdta0x7f26f86068b0), will try next server: Connection refused
 
Hi Clearwater,
 
 
During integration of FHOSS to Clearwater manual install nodes, i can see Connection refused logs from Sprout that sends Request msg to Application server (Memento).
 
see logs:
12-08-2015 09:31:33.110 UTC Error pjsip: tcpc0x7f26f865 TCP connect() error: Connection refused [code=120111]
12-08-2015 09:31:33.110 UTC Warning pjsip: tsx0x7f26f8607 Temporary failure in sending Request msg PUBLISH/cseq=10 (tdta0x7f26f86068b0), will try next server: Connection refused
12-08-2015 09:31:41.844 UTC Error pjsip:   tcpc0xcf8008 TCP connect() error: Connection refused [code=120111]
12-08-2015 09:31:41.844 UTC Warning pjsip:    tsx0xd789a8 Temporary failure in sending Request msg PUBLISH/cseq=95 (tdta0xd107b0), will try next server: Connection refused
12-08-2015 09:32:17.236 UTC Error pjsip: tcpc0x7f27305e TCP connect() error: Connection refused [code=120111]
 
May i know what to configure to address the connection refused seen in the Sprout logs.
 
#SPROUT config
# Deployment definitions
home_domain=example.com
sprout_hostname=192.168.1.101
hs_hostname=192.168.1.106:8888
hs_provisioning_hostname=192.168.1.106:8889
xdms_hostname=192.168.1.107:7888
ralf_hostname=
#chronos_hostname=<private IP>:7253
 
# I-CSCF/S-CSCF configuration
icscf=5052
scscf=5054
upstream_hostname=192.168.1.101
upstream_port=5052
 
# Local IP configuration
local_ip=192.168.1.101
public_ip=192.168.1.101
public_hostname=192.168.1.101
 
# Email server configuration
smtp_smarthost=127.0.0.1
smtp_username=username
smtp_password=password
 
# Keys
signup_key=entropy
turn_workaround=secret
ellis_api_key=secret
ellis_cookie_key=secret
 
# Application Servers
gemini_enabled='Y'
memento_enabled='Y'
 
# ENUM
#enum_server=<public IP>
#enum_file=<file.json>
 
# Additional domains
#additional_home_domains=<domain 1>,<domain 2>,<domain 3>,...
 
[sprout]sprout@sprout:~$ netstat -an | grep 5054
tcp        0      0 192.168.1.101:5054      0.0.0.0:*               LISTEN     
tcp        0      0 192.168.1.101:33932     192.168.1.101:5054      TIME_WAIT  
tcp        0      0 192.168.1.101:48789     192.168.1.101:5054      ESTABLISHED
tcp        0      0 192.168.1.101:5054      192.168.1.111:51841     ESTABLISHED
tcp        0      0 192.168.1.101:33958     192.168.1.101:5054      TIME_WAIT  
tcp        0      0 192.168.1.101:5054      192.168.1.101:48789     ESTABLISHED
tcp        0      0 192.168.1.101:33922     192.168.1.101:5054      TIME_WAIT  
tcp        0      0 192.168.1.101:33942     192.168.1.101:5054      TIME_WAIT  
tcp        0      0 192.168.1.101:33911     192.168.1.101:5054      TIME_WAIT  
udp        0      0 192.168.1.101:5054      0.0.0.0:*                          
[sprout]sprout@sprout:~$ netstat -an | grep 5058
tcp        0      0 192.168.1.101:41107     192.168.1.111:5058      ESTABLISHED
tcp        0      0 192.168.1.101:44057     192.168.1.111:5058      TIME_WAIT  
[sprout]sprout@sprout:~$ netstat -an | grep 5060
[sprout]sprout@sprout:~$
 
#MEMENTO config
# Deployment definitions
home_domain=example.com
sprout_hostname=192.168.1.91
hs_hostname=192.168.1.106:8888
hs_provisioning_hostname=192.168.1.106:8889
xdms_hostname=192.168.1.107:7888
ralf_hostname=
#chronos_hostname=<private IP>:7253
 
# Local IP configuration
local_ip=192.168.1.91
public_ip=192.168.1.91
public_hostname=192.168.1.91
 
# Email server configuration
smtp_smarthost=127.0.0.1
smtp_username=username
smtp_password=password
 
# Keys
signup_key=entropy
turn_workaround=secret
ellis_api_key=secret
ellis_cookie_key=secret
 
# I-CSCF/S-CSCF configuration
icscf=5052
scscf=5054
upstream_hostname=192.168.1.101
upstream_port=5052
 
# Application servers
gemini='Y'
memento='Y'
 
# ENUM
#enum_server=<public IP>
#enum_file=<file.json>
 
# Additional domains
#additional_home_domains=<domain 1>,<domain 2>,<domain 3>,...
 
[sprout]memento@memento:/var/log/sprout$ netstat -an | grep 5054
tcp        0      0 192.168.1.91:5054       0.0.0.0:*               LISTEN     
tcp        0      0 192.168.1.91:37481      192.168.1.91:5054       TIME_WAIT  
tcp        0      0 192.168.1.91:37488      192.168.1.91:5054       TIME_WAIT  
tcp        0      0 192.168.1.91:37516      192.168.1.91:5054       TIME_WAIT  
tcp        0      0 192.168.1.91:37495      192.168.1.91:5054       TIME_WAIT  
tcp        0      0 192.168.1.91:37509      192.168.1.91:5054       TIME_WAIT  
tcp        0      0 192.168.1.91:37502      192.168.1.91:5054       TIME_WAIT  
udp        0      0 192.168.1.91:5054       0.0.0.0:*                          
unix  3      [ ]         STREAM     CONNECTED     15054    
[sprout]memento@memento:/var/log/sprout$ netstat -an | grep 5058
unix  3      [ ]         STREAM     CONNECTED     15058    
[sprout]memento@memento:/var/log/sprout$ netstat -an | grep 5060
unix  3      [ ]         STREAM     CONNECTED     15060    
[sprout]memento@memento:/var/log/sprout$
 
 
I also attached the pcap file from Sprout.

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

Reply via email to