emran396 / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

Failed to start SIP stack error on HTC Hero #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
1. Verified settings in Options
2. Power cycle device, Exit/restart app
3. Verified other apps communicating via WiFi

What is the expected output? 
running wireshark, expecting to see attempts to register toward IMS core.

What do you see instead? When I select "Sign In", I quickly get two gray boxes 
- "failed to start SIP Stack" then "Failed to start SIP transport"

What version of the product are you using? On what operating system?
IMSDroid (can't find ver) on HTC Hero = Qualcomm MSM-7600,528 MHz,512MB 
ROM,288MB RAM, baseband ver 1.05.04.02.10, kernal ver 2.6.27-6bc66721, build 
1.66.590.1 CL135981

Please provide any additional information below.
None.

Original issue reported on code.google.com by hero01....@gmail.com on 5 Aug 2010 at 7:28

GoogleCodeExporter commented 9 years ago
Just to note that my setup is that I have two HTC Hero units, both using WiFi 
to a Linksys/Cisco wrt54G2 access point secured using WPA2 Personal. The 
wrt54G2 is providing DHCP and is at 192.168.100.101. My laptop is connected to 
a LAN port on the wrt54G2.

When I select "Sign-in" on the first HTC Hero (configured with all my IMS 
system details) I can see (wireshark) that a number of ARP requests are being 
generated by the HTC back to back - all requests are "who has 192.168.100.101".

I force my laptop to send an ARP and the structure of the ARP request is a tiny 
bit different than the ARP request coming from the HTC. The HTC request 
includes a 
"Trailer: 000000000000000000000000000000000000" header that the laptop request 
does not.

I tested IMSDroid on the second HTC Hero using application default values and 
the error is a bit different - I only get the first effor (failed to start SIP 
Stack) - assume is because of the bogus default values. This unit is not 
sending ARP requests.

Mike.

Original comment by hero01....@gmail.com on 5 Aug 2010 at 8:02

GoogleCodeExporter commented 9 years ago
when i first tried IMSdroid i had the same error.

i dont remember what made it go away. one thing i did try is the newer version. 
perhaps reinstalling/upgrading helps? you probably have, but you never know.

if that didnt fix it for me, then it must have been the network settings. can 
you give your identity and network settings (not the password ;-)? Are you 
behind NAT wrt the server you are registering to?

Original comment by thilo.ba...@gmail.com on 5 Aug 2010 at 8:22

GoogleCodeExporter commented 9 years ago
You have here 
(http://code.google.com/p/imsdroid/source/browse/#svn/trunk/debug) a debug 
version of the apk. You can install it and sync. the phone with eclipse. The 
debug information of the Native code (libtinyWRAP.so) will be tagged as 
'tinyWRAP'.
It will help me a lot if a can have the complete log (Before, during then after 
connect try).

Original comment by boss...@yahoo.fr on 6 Aug 2010 at 3:05

GoogleCodeExporter commented 9 years ago
Check under settings and Network and make sure that WiFi is checked. I get the 
failed to start sip stack on 3g but then i have it disabled. 

Original comment by spartian...@gmail.com on 8 Aug 2010 at 7:44

GoogleCodeExporter commented 9 years ago
Had the same problem on my X10. First everything was working. Then I played 
around with the configurations and it would not work anymore. I was using 3G 
only but did reconfigure the APN inbetween also.

Original comment by mandrajg@gmail.com on 16 Aug 2010 at 11:05

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 26 Oct 2010 at 9:36

GoogleCodeExporter commented 9 years ago
How is it fixed? I have installed the latest version    imsdroid-2.0.453-vp8.apk 
and it says "Failed to start sip stack"?

Original comment by usm...@smonte.com on 25 Nov 2011 at 12:40

GoogleCodeExporter commented 9 years ago
i have the same issue."Failed to start sip stack", i setup open IMS on another 
machine.

how can i resolve (debug) this issue?

Original comment by kientrun...@gmail.com on 26 Dec 2011 at 6:15

GoogleCodeExporter commented 9 years ago
I have the same issue too on android 2.36. i use version  2.0.509.
Debug log is:

09-23 19:12:11.326: D/org.doubango.imsdroid.Main(4549): onActivityResult(0,0)
09-23 19:12:11.426: I/ActivityManager(275): Displayed 
org.doubango.imsdroid/.Main: +531ms
09-23 19:12:11.446: E/ThermalDaemon(602): Maximum CPU[1] frequency 972000 KHz
09-23 19:12:11.486: W/WindowManager(275): Rebuild removed 4 windows but added 3
09-23 19:12:12.176: E/MP-Decision(601): DOWN Ns:2.100000 Ts:270 rq:1.728929 
seq:565.000000
09-23 19:12:13.106: D/org.doubango.ngn.services.impl.NgnSipService(4549): 
register()
09-23 19:12:13.106: D/org.doubango.ngn.services.impl.NgnSipService(4549): 
realm='sip:doubango.org', impu='sip:johndoe@doubango.org', impi='johndoe'
09-23 19:12:13.126: D/org.doubango.ngn.services.impl.NgnSipService(4549): 
STUN=no
09-23 19:12:13.126: D/org.doubango.ngn.services.impl.NgnSipService(4549): 
pcscf-host='null', pcscf-port='5060', transport='udp', ipversion='ipv4'
09-23 19:12:13.126: D/org.doubango.ngn.services.impl.NgnNetworkService(4549): 
192.168.1.110
09-23 19:12:13.126: D/org.doubango.ngn.services.impl.NgnNetworkService(4549): 
127.0.0.1
09-23 19:12:13.126: D/org.doubango.ngn.services.impl.NgnSipService(4549): Local 
IP='192.168.1.110'
09-23 19:12:13.126: D/org.doubango.ngn.services.impl.NgnNetworkService(4549): 
acquireNetworkLock()
09-23 19:12:13.136: D/org.doubango.ngn.services.impl.NgnNetworkService(4549): 
netType=1 and netSubType=0
09-23 19:12:13.976: E/tinyWRAP(4549): ***ERROR: function: 
"tnet_dns_query_naptr_srv()" 
09-23 19:12:13.976: E/tinyWRAP(4549): file: "src/dns/tnet_dns.c" 
09-23 19:12:13.976: E/tinyWRAP(4549): line: "748" 
09-23 19:12:13.976: E/tinyWRAP(4549): MSG: DNS NAPTR query returned zero result.
09-23 19:12:13.976: E/tinyWRAP(4549): ***ERROR: function: "tsip_stack_start()" 
09-23 19:12:13.976: E/tinyWRAP(4549): file: "src/tsip.c" 
09-23 19:12:13.976: E/tinyWRAP(4549): line: "597" 
09-23 19:12:13.976: E/tinyWRAP(4549): MSG: P-CSCF discovery using DNS NAPTR 
failed. The stack will use the user supplied address and port.
09-23 19:12:13.976: E/tinyWRAP(4549): ***ERROR: function: "tsip_stack_start()" 
09-23 19:12:13.976: E/tinyWRAP(4549): file: "src/tsip.c" 
09-23 19:12:13.976: E/tinyWRAP(4549): line: "609" 
09-23 19:12:13.976: E/tinyWRAP(4549): MSG: Proxy-CSCF IP address is Null.
09-23 19:12:13.996: E/org.doubango.ngn.services.impl.NgnSipService(4549): 
Failed to start the SIP stack

Original comment by lzx...@163.com on 23 Sep 2012 at 11:12

GoogleCodeExporter commented 9 years ago
Hi,

When i am trying to "Sign In" to openIMSCore server over wifi with IMSDroid 
through android device , it is sending "request: REGISTER sip:open-ims.test" to 
the server , but in return server is giving "destination unreachable(port 
unreachble)"..
How to solve this ???? 

Original comment by vidha...@gmail.com on 26 Jan 2015 at 11:19