[SR-Users] Playing with Diameter - Error opening connection to :3868

Steve Bucklin steve at telcoelectronics.uk
Mon Jan 28 15:23:55 CET 2019


Hello all,

I am brand new to this list and I am also on a steep learning curve with 
Kamailio and Diameter.... so please be gentle as I am just starting!

I am trying to look at the Diameter signaling and have a glimpse into 
the information passed. I have set up a compiled 5.2 on CentOS 7. I 
suspect that I am missing something obvious, but not sure what. I am 
seeing this error:


INFO: cdp [peerstatemachine.c:525]: I_Snd_Conn_Req(): I_Snd_Conn_Req(): Peer

peer_connect(): peer_connect(): Error opening connection to :3868 >Name 
or service not known


It looks like the FQDN in the diameter.xml under 'peer' is not being 
resolved, as it is seeing port 3868? Any pointers would be greatly taken :-)

Here is my diameter:

<?xml version="1.0" encoding="UTF-8"?>
<DiameterPeer
         FQDN="mra1.testservers.xxx"
         Realm="testservers.xxx"
         Vendor_Id="10415"
         Product_Name="CDiameterPeer"
         AcceptUnknownPeers="1"
         DropUnknownOnDisconnect="1"
         Tc="30"
         Workers="16"
         QueueLength="32"
         TransactionTimeout="5"
         SessionsHashSize="128"
         DefaultAuthSessionTimeout="3600"
         MaxAuthSessionTimeout="3600"
 >

         <peer FGDN="mra2.testservers.xxx" Realm="testservers.xxx" 
proto="sctp" port="3868"/>

         <Acceptor port="3868" bind="192.168.1.20"/>

         <Auth id="16777251" vendor="10415"/>   <!-- 3GPP S6a/S6d -->

         <SupportedVendor vendor="10415" />

</DiameterPeer>


And here is what I am getting on the startup:

Jan 28 14:19:35 telco-lon1-02 kamailio: INFO: <core> 
[core/tcp_main.c:4722]: init_tcp(): using epoll_lt as the io watch 
method (auto detected)
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22778]: 
INFO: <core> [main.c:2649]: main(): processes (at least): 29 - shm size: 
67108864 - pkg size: 8388608
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22778]: 
INFO: cdp [cdp_mod.c:240]: cdp_child_init(): CDiameterPeer child 
starting ...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22783]: 
INFO: cdp [worker.c:332]: worker_process(): [1] Worker process started...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22778]: 
INFO: cdp [cdp_mod.c:242]: cdp_child_init(): ... CDiameterPeer child started
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22790]: 
INFO: cdp [worker.c:332]: worker_process(): [8] Worker process started...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22784]: 
INFO: cdp [worker.c:332]: worker_process(): [2] Worker process started...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22786]: 
INFO: cdp [worker.c:332]: worker_process(): [4] Worker process started...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22793]: 
INFO: cdp [worker.c:332]: worker_process(): [11] Worker process started...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22794]: 
INFO: cdp [worker.c:332]: worker_process(): [12] Worker process started...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22796]: 
INFO: cdp [worker.c:332]: worker_process(): [14] Worker process started...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22788]: 
INFO: cdp [worker.c:332]: worker_process(): [6] Worker process started...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22799]: 
INFO: cdp [receiver.c:455]: receiver_process(): receiver_process(): [] 
Receiver process doing init on new process...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22799]: 
INFO: cdp [receiver.c:188]: add_serviced_peer(): add_serviced_peer(): 
Adding serviced_peer_t to receiver for peer []
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22799]: 
INFO: cdp [receiver.c:460]: receiver_process(): receiver_process(): [] 
Receiver process starting up...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22791]: 
INFO: cdp [worker.c:332]: worker_process(): [9] Worker process started...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22792]: 
INFO: cdp [worker.c:332]: worker_process(): [10] Worker process started...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22785]: 
INFO: cdp [worker.c:332]: worker_process(): [3] Worker process started...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22787]: 
INFO: cdp [worker.c:332]: worker_process(): [5] Worker process started...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22795]: 
INFO: cdp [worker.c:332]: worker_process(): [13] Worker process started...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22782]: 
INFO: cdp [worker.c:332]: worker_process(): [0] Worker process started...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22789]: 
INFO: cdp [worker.c:332]: worker_process(): [7] Worker process started...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22797]: 
INFO: cdp [worker.c:332]: worker_process(): [15] Worker process started...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22798]: 
INFO: cdp [receiver.c:455]: receiver_process(): receiver_process(): [] 
Receiver process doing init on new process...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22798]: 
INFO: cdp [receiver.c:460]: receiver_process(): receiver_process(): [] 
Receiver process starting up...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22800]: 
INFO: cdp [acceptor.c:81]: acceptor_process(): Acceptor process starting 
up...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22800]: 
WARNING: cdp [tcp_accept.c:121]: create_socket(): create_socket(): 
Trying to open/bind/listen on 192.168.1.20 port 3868
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22800]: 
WARNING: cdp [tcp_accept.c:146]: create_socket(): create_socket(): 
Successful socket open/bind/listen on 192.168.1.20 port 3868
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22800]: 
INFO: cdp [acceptor.c:95]: acceptor_process(): Acceptor opened sockets. 
Entering accept loop ...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22801]: 
INFO: cdp [timer.c:205]: timer_process(): Timer process starting up...
Jan 28 14:19:35 telco-lon1-02 journal: [Diameter Routing Agent][22802]: 
INFO: ctl [io_listener.c:214]: io_listen_loop(): io_listen_loop:  using 
epoll_lt io watch method (config)
Jan 28 14:19:36 telco-lon1-02 journal: [Diameter Routing Agent][22801]: 
INFO: cdp [peerstatemachine.c:525]: I_Snd_Conn_Req(): I_Snd_Conn_Req(): Peer

Jan 28 14:19:36 telco-lon1-02 journal: [Diameter Routing Agent][22801]: 
WARNING: cdp [receiver.c:866]: peer_connect(): peer_connect(): Error 
opening connection to :3868 >Name or service not known

Thanks,

Steve




More information about the sr-users mailing list