Mobicents SS7 Connection Breaking Down

178 views
Skip to first unread message

FOMI

unread,
May 26, 2012, 8:53:19 PM5/26/12
to mobicent...@googlegroups.com
Dears

   I'm using Mobicents SS7 1.0 Final connected to Ericsson GMSC and I'm having the following problem, after some period the connection break down and Mobicents tries do recovery it, but get the message "java.net.BindException: Cannot assign requested address".

 It seams the Mobicents break the connetion after receive a request from GMSC, can the group help on this?

2012-05-26 10:41:57,357 DEBUG [org.mobicents.slee.container.management.jmx.ActivityManagementMBeanImpl] Periodic Liveliness Task scheduled to run in 60 minutes
2012-05-26 11:41:57,367 DEBUG [org.mobicents.slee.container.management.jmx.ActivityManagementMBeanImpl] Periodic Liveliness Task scheduled to run in 60 minutes
2012-05-26 12:41:57,377 DEBUG [org.mobicents.slee.container.management.jmx.ActivityManagementMBeanImpl] Periodic Liveliness Task scheduled to run in 60 minutes

012-05-26 12:45:52,079 DEBUG [org.mobicents.protocols.sctp.AssociationImpl] Rx : Ass=MAPTPC PayloadData [dataLength=16, complete=true, unordered=false, payloadProtocolId=3, streamNumber=0, data=
Start: 0 (0x00)  End: 15 (0x0F)  Length: 16 (0x10)
00: 01 00 02 01 00 00 00 10  00 12 00 08 00 00 07 0B | ........ ........ 
]
2012-05-26 12:45:52,080 DEBUG [org.mobicents.protocols.sctp.AssociationImpl] Tx : Ass=MAPTPC PayloadData [dataLength=16, complete=true, unordered=true, payloadProtocolId=3, streamNumber=0, data=
Start: 0 (0x00)  End: 15 (0x0F)  Length: 16 (0x10)
00: 01 00 00 00 00 00 00 10  00 0C 00 08 00 00 00 06 | ........ ........ 
]
2012-05-26 12:45:52,080 ERROR [org.mobicents.protocols.sctp.AssociationImpl] IOException while trying to write to underlying socket for Association=MAPTPC IOError count=1
java.net.BindException: Cannot assign requested address
at sun.nio.ch.SctpChannelImpl.send0(Native Method)
at sun.nio.ch.SctpChannelImpl.sendFromNativeBuffer(SctpChannelImpl.java:1027)
at sun.nio.ch.SctpChannelImpl.send(SctpChannelImpl.java:987)
at sun.nio.ch.SctpChannelImpl.send(SctpChannelImpl.java:967)
at org.mobicents.protocols.sctp.AssociationImpl.doSendSctp(AssociationImpl.java:540)
at org.mobicents.protocols.sctp.AssociationImpl.doSend(AssociationImpl.java:534)
at org.mobicents.protocols.sctp.AssociationImpl.write(AssociationImpl.java:498)
at org.mobicents.protocols.sctp.SelectorThread.write(SelectorThread.java:345)
at org.mobicents.protocols.sctp.SelectorThread.run(SelectorThread.java:151)
at java.lang.Thread.run(Thread.java:722)
2012-05-26 12:45:52,081 ERROR [org.mobicents.protocols.sctp.AssociationImpl] IOException while trying to write to underlying socket for Association=MAPTPC IOError count=2
java.net.BindException: Cannot assign requested address
at sun.nio.ch.SctpChannelImpl.send0(Native Method)
at sun.nio.ch.SctpChannelImpl.sendFromNativeBuffer(SctpChannelImpl.java:1027)
at sun.nio.ch.SctpChannelImpl.send(SctpChannelImpl.java:987)
at sun.nio.ch.SctpChannelImpl.send(SctpChannelImpl.java:967)
at org.mobicents.protocols.sctp.AssociationImpl.doSendSctp(AssociationImpl.java:540)
at org.mobicents.protocols.sctp.AssociationImpl.doSend(AssociationImpl.java:534)
at org.mobicents.protocols.sctp.AssociationImpl.write(AssociationImpl.java:465)
at org.mobicents.protocols.sctp.SelectorThread.write(SelectorThread.java:345)
at org.mobicents.protocols.sctp.SelectorThread.run(SelectorThread.java:151)
at java.lang.Thread.run(Thread.java:722)

Amit Bhayani

unread,
May 27, 2012, 2:42:13 AM5/27/12
to mobicent...@googlegroups.com
Are you using multihome for SCTP and SCTP socket is bound to multiple address?

Amit.

FOMI

unread,
May 27, 2012, 8:48:50 AM5/27/12
to mobicent...@googlegroups.com
Yes, it is.

FOMI

unread,
May 27, 2012, 6:11:53 PM5/27/12
to mobicent...@googlegroups.com
Yes, it is.

     I saw there is some updates in the SVN that support connectios for multi-home avoiding IOExecption, do you have a configuration example for this new feature like Mobicents_SS7Stack_User_Guide.pdf?


Em domingo, 27 de maio de 2012 03h42min13s UTC-3, Amit Bhayani escreveu:

Amit Bhayani

unread,
May 28, 2012, 5:26:22 AM5/28/12
to mobicent...@googlegroups.com
This is known issue 

Its fixed now in trunk. Can you use Mobicents jSS7 from git master barnch http://code.google.com/p/jss7/source/checkout ?

Amit.

FOMI

unread,
May 28, 2012, 6:44:25 AM5/28/12
to mobicents-public
Ok, but there is some configuration example for the
Mtp3UserPart_m3ua.xml and SCTPManagement_sctp.xml , using multi-home?

On 28 maio, 06:26, Amit Bhayani <amit.bhay...@gmail.com> wrote:
> This is known issuehttp://code.google.com/p/jss7/issues/detail?id=53
>
> Its fixed now in trunk. Can you use Mobicents jSS7 from git master barnchhttp://code.google.com/p/jss7/source/checkout?
>
> Amit.
>
>
>
>
>
>
>
> On Sun, May 27, 2012 at 11:11 PM, FOMI <fomici...@gmail.com> wrote:
> > Yes, it is.
>
> >      I saw there is some updates in the SVN that support connectios for
> > multi-home avoiding IOExecption, do you have a configuration example for
> > this new feature like Mobicents_SS7Stack_User_Guide.pdf?
>
> > Em domingo, 27 de maio de 2012 03h42min13s UTC-3, Amit Bhayani escreveu:
>
> >> Are you using multihome for SCTP and SCTP socket is bound to multiple
> >> address?
>
> >> Amit.
>
> >> On Sun, May 27, 2012 at 1:53 AM, FOMI <fomici...@gmail.com> wrote:
>
> >>> Dears
>
> >>>    I'm using Mobicents SS7 1.0 Final connected to Ericsson GMSC and I'm
> >>> having the following problem, after some period the connection break down
> >>> and Mobicents tries do recovery it, but get the message
> >>> "java.net.BindException: Cannot assign requested address".
>
> >>>  It seams the Mobicents break the connetion after receive a request from
> >>> GMSC, can the group help on this?
>
> >>> 2012-05-26 10:41:57,357 DEBUG [org.mobicents.slee.container.**
> >>> management.jmx.**ActivityManagementMBeanImpl] Periodic Liveliness Task
> >>> scheduled to run in 60 minutes
> >>> 2012-05-26 11:41:57,367 DEBUG [org.mobicents.slee.container.**
> >>> management.jmx.**ActivityManagementMBeanImpl] Periodic Liveliness Task
> >>> scheduled to run in 60 minutes
> >>> 2012-05-26 12:41:57,377 DEBUG [org.mobicents.slee.container.**
> >>> management.jmx.**ActivityManagementMBeanImpl] Periodic Liveliness Task
> >>> scheduled to run in 60 minutes
>
> >>> 012-05-26 12:45:52,079 DEBUG [org.mobicents.protocols.sctp.**AssociationImpl]
> >>> Rx : Ass=MAPTPC PayloadData [dataLength=16, complete=true, unordered=false,
> >>> payloadProtocolId=3, streamNumber=0, data=
> >>> Start: 0 (0x00)  End: 15 (0x0F)  Length: 16 (0x10)
> >>> 00: 01 00 02 01 00 00 00 10  00 12 00 08 00 00 07 0B | ........ ........
> >>> ]
> >>> 2012-05-26 12:45:52,080 DEBUG [org.mobicents.protocols.sctp.**AssociationImpl]
> >>> Tx : Ass=MAPTPC PayloadData [dataLength=16, complete=true, unordered=true,
> >>> payloadProtocolId=3, streamNumber=0, data=
> >>> Start: 0 (0x00)  End: 15 (0x0F)  Length: 16 (0x10)
> >>> 00: 01 00 00 00 00 00 00 10  00 0C 00 08 00 00 00 06 | ........
> >>> ........
> >>> ]
> >>> 2012-05-26 12:45:52,080 ERROR [org.mobicents.protocols.sctp.**AssociationImpl]
> >>> IOException while trying to write to underlying socket for
> >>> Association=MAPTPC IOError count=1
> >>> java.net.BindException: Cannot assign requested address
> >>>  at sun.nio.ch.SctpChannelImpl.**send0(Native Method)
> >>> at sun.nio.ch.SctpChannelImpl.**sendFromNativeBuffer(**
> >>> SctpChannelImpl.java:1027)
> >>>  at sun.nio.ch.SctpChannelImpl.**send(SctpChannelImpl.java:987)
> >>> at sun.nio.ch.SctpChannelImpl.**send(SctpChannelImpl.java:967)
> >>>  at org.mobicents.protocols.sctp.**AssociationImpl.doSendSctp(**
> >>> AssociationImpl.java:540)
> >>> at org.mobicents.protocols.sctp.**AssociationImpl.doSend(**
> >>> AssociationImpl.java:534)
> >>>  at org.mobicents.protocols.sctp.**AssociationImpl.write(**
> >>> AssociationImpl.java:498)
> >>> at org.mobicents.protocols.sctp.**SelectorThread.write(**
> >>> SelectorThread.java:345)
> >>>  at org.mobicents.protocols.sctp.**SelectorThread.run(**
> >>> SelectorThread.java:151)
> >>> at java.lang.Thread.run(Thread.**java:722)
> >>> 2012-05-26 12:45:52,081 ERROR [org.mobicents.protocols.sctp.**AssociationImpl]
> >>> IOException while trying to write to underlying socket for
> >>> Association=MAPTPC IOError count=2
> >>> java.net.BindException: Cannot assign requested address
> >>>  at sun.nio.ch.SctpChannelImpl.**send0(Native Method)
> >>> at sun.nio.ch.SctpChannelImpl.**sendFromNativeBuffer(**
> >>> SctpChannelImpl.java:1027)
> >>>  at sun.nio.ch.SctpChannelImpl.**send(SctpChannelImpl.java:987)
> >>> at sun.nio.ch.SctpChannelImpl.**send(SctpChannelImpl.java:967)
> >>>  at org.mobicents.protocols.sctp.**AssociationImpl.doSendSctp(**
> >>> AssociationImpl.java:540)
> >>> at org.mobicents.protocols.sctp.**AssociationImpl.doSend(**
> >>> AssociationImpl.java:534)
> >>>  at org.mobicents.protocols.sctp.**AssociationImpl.write(**
> >>> AssociationImpl.java:465)
> >>> at org.mobicents.protocols.sctp.**SelectorThread.write(**
> >>> SelectorThread.java:345)
> >>>  at org.mobicents.protocols.sctp.**SelectorThread.run(**
> >>> SelectorThread.java:151)
> >>> at java.lang.Thread.run(Thread.**java:722)

Amit Bhayani

unread,
May 29, 2012, 4:07:05 AM5/29/12
to mobicent...@googlegroups.com
Regarding M3UA nothing would change for multi-home as its transparent to M3UA.

Regarding sctp see below example

<?xml version="1.0" encoding="UTF-8" ?>
<servers/>
<associations>
<name value="PHHLR1SctpAssoc"/>
<association name="PHHLR1SctpAssoc" assoctype="CLIENT" hostAddress="10.199.118.38" hostPort="2913" peerAddress="10.225.116.2" peerPort="2905" serverName="" ipChannelType="0" extraHostAddresseSize="1">
<extraHostAddress value="10.199.122.38"/>
</association>
</associations>

FOMI

unread,
May 29, 2012, 2:52:29 PM5/29/12
to mobicents-public
Ok, thanks I've aplly the patch and its working fine!
Reply all
Reply to author
Forward
0 new messages