Start Local Version.

Discussions about using SIP Sorcery on your own computer/server
Post Reply
old-ocker
Posts: 17
Joined: Sun Dec 27, 2009 1:23 pm

Start Local Version.

Post by old-ocker » Thu Jun 30, 2011 12:52 pm

I am trying to start a local version but it fails.
Final part of the process follows:-

Provisioning hosted service successfully started on http://frank-hp:8080/provisioning.svc.
CrossDomain hosted service successfully started on http://frank-hp:8080/.
CallManager hosted service successfully started on http://frank-hp:8080/callmanager.svc.
SIPNotificationsService hosted service successfully started on http://frank-hp:8080/notificationspull.svc.
SIPProxyDaemon STUN client started.
STUNClient attempting to determine public IP from stun.ekiga.net.
STUNClient server response timedout after 3s.
Binding to IP endpoint: [0.0.0.0:22]
STUNClient attempting to determine public IP from stun.ekiga.net.
STUNClient server response timedout after 3s.

Unhandled Exception: System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceiveFrom(IAsyncResult asyncResult, EndPoint endPoint)
at System.Net.Sockets.UdpClient.EndReceive(IAsyncResult asyncResult, IPEndPoint remoteEP)
at SIPSorcery.Net.STUNClient.<>c__DisplayClass1.<GetPublicIPAddress>b__0(IAsyncResult ar)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

Anyone tell me what the problem is.

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: Start Local Version.

Post by Aaron » Thu Jun 30, 2011 12:59 pm

Yes there's a bug in the STUN client in sipsorcery v1.2 that crashes if it can't contact the STUN server. If you set the STUN server setting in sipsorcery-appsvr.exe.config to blank that will fix the problem.

old-ocker
Posts: 17
Joined: Sun Dec 27, 2009 1:23 pm

Re: Start Local Version.

Post by old-ocker » Fri Jul 01, 2011 2:20 am

Thanks Aaron.

old-ocker
Posts: 17
Joined: Sun Dec 27, 2009 1:23 pm

Re: Start Local Version.

Post by old-ocker » Fri Jul 01, 2011 5:31 am

Deleted.

Post Reply