dongjw777 / idoubs

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

Crashing during shifting in wireless networks with ICE enabled ,also other issue with ICE #150

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
a) Before posting your issue you MUST answer to the questions otherwise it
will be rejected (invalid status) by us
b) Please check the issue tacker to avoid duplication
c) Please provide network capture (wireshark) or Android log (DDMS output)
if you want quick response

What steps will reproduce the problem?
Hello

I  was working on idoubs build on r233

i  have  noted a  few issues
Tried  with 
with TCP  app   stops  responding  at times  when immediately  sent  to 
background

UDP     & later tried  with DTLS    for  below issues

1 )  ICE  ON,   Stun   OFF  ,  Discover   OFF
idoubs  connects  on iphone  ,  a  few  calls  go  fine  and  than  misses a  
few  .. message  on  sip server  side     "  Bad  Request packets "  or " 
client did not send expected messages "

turning off ICE  , works  fine  
But ICE is  required  in most  certain network  conditions .

2 )  when  app is  sent  to background  mode   and  person  moves  to  other 
wireless  or  3G  network   ,  clicking app  brings it to  from  with idoubs ( 
phone icon )  crashes  to background,   a  few more ties  same result  and  
than  dialer  screen  displays  , click on any button and  it crashes   , 2-3  
more ties  and  it  starts working normally.

What is the expected output? What do you see instead?

App  should work  

What version of the product or source code revision are you using? On what
operating system?

r233  on iphone 4S

Please provide any additional information below.

Original issue reported on code.google.com by Kochar.G...@gmail.com on 18 Mar 2013 at 1:03

GoogleCodeExporter commented 9 years ago
Do you have same issue if keepAlive is enabled?

Original comment by boss...@yahoo.fr on 18 Mar 2013 at 1:24

GoogleCodeExporter commented 9 years ago
Hello

Thanks  for  quick  reply

Issue  2 )
Yes , during  keep alive enabled .

i would  test  it  now with keep alive disabled and  update you.

regarding issue  1 )   is  it  something to  do  with packet size  which  comes 
into action once ICE is  enabled ?  that  a  few  calls  reach switch  with    
invalid packet size  or something.

Original comment by Kochar.G...@gmail.com on 18 Mar 2013 at 2:12

GoogleCodeExporter commented 9 years ago
Hello
tested with keep alive off  

when  i  shift  from one wireless  to  other wireless  as  long app  is still 
registered on server  , same issue   .   
on  waiting for  few minutes  till it looses  registration  ..than  changing 
wifi  works  perfect  ..  just  missing a  few calls  for ICE issue .

So, most  likely  it  is  that Wifi  to  wifi   , when  app  is  still 
registered  crashes app  .
in normal  cases  like linphone ,  it  just  re registers .

i  was taking example  if  a  client has  to wifi  at one place  and  wants to 
shift  to  a stronger wifi  connection at any time  during  keep alive enabled  
to recieve  calls in  background  mode...  in  dat  case  the issue  will pop 
up.

Regarding ICE  part  , missing calls  ..  it  is  same ..
tried dialing   back to  back  calls   3  calls  go  fine  and  1  or  fail  
with "  Bad request message "  or  "  Client  didnt  not  send  expected 
messages "  message on  server side .  it  happens randomply

Original comment by Kochar.G...@gmail.com on 18 Mar 2013 at 2:55

GoogleCodeExporter commented 9 years ago
Is [1] called?
What about device logs?

[1] 
https://code.google.com/p/idoubs/source/browse/branches/2.0/ios-idoubs/Classes/i
doubs2AppDelegate.mm?r=206#117

Original comment by boss...@yahoo.fr on 18 Mar 2013 at 3:22

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 20 Mar 2013 at 9:42