RestComm / jss7

RestComm Java SS7 Stack and Services
http://www.restcomm.com/
GNU Affero General Public License v3.0
177 stars 218 forks source link

SCTP link to server can not be up #283

Closed ghalizadeh closed 6 years ago

ghalizadeh commented 6 years ago

Dear all

I get the following error, when I run map->load-> client

and whenever I get this error , my SCTP link to server cannot be established.

[java] 10830 [Sctp-BossGroup-Client-1-1] WARN
org.mobicents.protocols.sctp.netty.NettySctpClientHandler -# ChannelUnregistered event: association=Association [name=clientAsscoiationX4, associationType=CLIENT, ipChannelType=SCTP, hostAddress=172.20.12.207, hostPort=8014, peerAddress=10.208.19.67, peerPort=11205, serverName=null, extraHostAddress=[]]

But sometimes restarting the server will solve the problem but sometimes not. Regards

knosach commented 6 years ago

hi @ghalizadeh this error occurs when a client can not establish a connection to the server. Can you check is this port open (11205) on the server side when you getting this error? Also you can check your SCTP connection between hosts via sctp testing tool sctp_darn

BR

ghalizadeh commented 6 years ago

Dear @knosach By using sctp_darn, I get the following error:

[root@vlr-lsn ~]# sctp_darn -H 172.20.12.207 -P 8014 -h 10.200.19.67 -p 11205 -s sctp_darn ready to send... 172.20.12.207:8014-10.200.19.67:11205> 1 Recieved SCTP_CANT_STR_ASSOC No association is present now!! 172.20.12.207:8014-10.200.19.67:11205>

Does this problem is from my side(172.20.12.207) or is from the SPS side (10.200.19.67)? Best Regards

knosach commented 6 years ago

@ghalizadeh I believe it is an issue on 10.200.19.67. You should try another server for test

ghalizadeh commented 6 years ago

Dear @knosach On the basis of tcpdump results, I send [INIT] message two times then I get the [INIT ACK] but unfortunately I [ABORT] it !!! It's my question, why I send [ABORT] ??? My IP-Port (Client) -> 172.20.12.207:8014 The SPS(STP) IP-Port (Server) -> 10.208.19.67:11205

TCPDUMP output: [root@vlr-lsn ~]# tcpdump -nnpi Auto_eth3 -v host 10.208.19.67 tcpdump: listening on Auto_eth3, link-type EN10MB (Ethernet), capture size 65535 bytes 14:25:54.211856 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 120) 172.20.12.207.8014 > 10.208.19.67.11205: sctp (1) [INIT] [init tag: 2151466682] [rwnd: 131072] [OS: 10] [MIS: 65535] [init TSN: 1784929999] 14:25:54.212726 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 120) 172.20.12.207.8014 > 10.208.19.67.11205: sctp (1) [INIT] [init tag: 2151466682] [rwnd: 131072] [OS: 10] [MIS: 65535] [init TSN: 1784929999] 14:25:54.242529 IP (tos 0xc0, ttl 249, id 56852, offset 0, flags [none], proto SCTP (132), length 788) 10.208.19.67.11205 > 172.20.12.207.8014: sctp (1) [INIT ACK] [init tag: 3186439347] [rwnd: 820448] [OS: 17] [MIS: 10] [init TSN: 3186439347] 14:25:54.242588 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 36) 172.20.12.207.8014 > 10.208.19.67.11205: sctp (1) [ABORT] 14:25:54.242621 IP (tos 0xc0, ttl 249, id 56853, offset 0, flags [none], proto SCTP (132), length 788) 10.208.19.67.11205 > 172.20.12.207.8014: sctp (1) [INIT ACK] [init tag: 268393801] [rwnd: 820448] [OS: 17] [MIS: 10] [init TSN: 268393801] 14:25:54.242640 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 36) 172.20.12.207.8014 > 10.208.19.67.11205: sctp (1) [ABORT]

Best Regards,

knosach commented 6 years ago

hi @ghalizadeh I have two questions: 1) do you use sctp_darn as the test server if not please use it? 2) can you send pcap files from both sides for analysis? BR

ghalizadeh commented 6 years ago

Dear @knosach 1-do you use sctp_darn as the test server if not please use it? I don't have access to the server side because that's critical and commercial node (SPS) and just our vendor could log in to its OS, therefore, I cannot run sctp_darn command on the server terminal to create a listener I only can run sctp_darn on my client in sending mode that I sent its logs and result

2-can you send pcap files from both sides for analysis? Please find this file from client side (because I don't have access to server-side) as enclosed file

client.zip

Client Side (172.20.12.207:8011) -- ServerSide (10.200.19.66:12204) Best Regards, Alizadeh

nhanth87 commented 6 years ago

Hello, In case of customer support and 24/7. I think you should request a professional support insteal of waiting for community support. You can request it from https://accounts.restcomm.com/registration.jsp