Status: New
Owner: ----
Labels: Priority-Medium
New issue 115 by [email protected]: NIO TLS blocks on socket
establishment for 10 seconds
http://code.google.com/p/jain-sip/issues/detail?id=115
When trying to send message to destination that does not have established
socket and is not reachable , sip stack gets blocking , thats because of
usage of :
NioTcpMessageProcessor.blockingConnect
the exception posted below :
=========================================
javax.sip.TransactionUnavailableException: Could not resolve next hop or
listening point unavailable!
at
gov.nist.javax.sip.SipProviderImpl.getNewClientTransaction(SipProviderImpl.java:449)
at
org.mobicents.slee.resource.sip11.SleeSipProviderImpl.getNewClientTransaction(SleeSipProviderImpl.java:431)
at
com.webukraine.ims.core.pcscf.NotificationProxySbb.onNOTIFY(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.mobicents.slee.runtime.sbbentity.SbbEntityImpl.invokeEventHandler(SbbEntityImpl.java:478)
at
org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.routeQueuedEvent(EventRoutingTaskImpl.java:378)
at
org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.run(EventRoutingTaskImpl.java:126)
at
org.mobicents.slee.runtime.eventrouter.EventRouterExecutorImpl$EventRoutingTaskStatsCollector.run(EventRouterExecutorImpl.java
:73)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.net.SocketTimeoutException
at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:127)
at
gov.nist.javax.sip.stack.NioTcpMessageProcessor.initiateConnection(NioTcpMessageProcessor.java:70)
at
gov.nist.javax.sip.stack.NioTcpMessageProcessor.blockingConnect(NioTcpMessageProcessor.java:83)
at
gov.nist.javax.sip.stack.NIOHandler.createOrReuseSocket(NIOHandler.java:414)
at
gov.nist.javax.sip.stack.NioTcpMessageChannel.<init>(NioTcpMessageChannel.java:157)
at
gov.nist.javax.sip.stack.NioTlsMessageChannel.<init>(NioTlsMessageChannel.java:204)
at
gov.nist.javax.sip.stack.NioTlsMessageProcessor.createMessageChannel(NioTlsMessageProcessor.java:52)
at
gov.nist.javax.sip.stack.SIPTransactionStack.createMessageChannel(SIPTransactionStack.java:1685)
at
gov.nist.javax.sip.SipProviderImpl.getNewClientTransaction(SipProviderImpl.java:410)
... 13 more
=========================================
It should not block and allow the code proceed.
In case of socket establishment failure IOExceptionEvent may be thrown
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.