<div dir="ltr">Out of curiosity, are you on latest master?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 6, 2013 at 4:45 AM, Peter Steinbach <span dir="ltr">&lt;<a href="mailto:lists@telefaks.de" target="_blank">lists@telefaks.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div class="im">
    <div>On 09/06/13 00:52, Anthony Minessale
      wrote:<br>
    </div>
    <blockquote type="cite">SSL stuff still shows handshake etc well in a pcap.
      <div>you need sofia loglevel all 9 to see any connection stuff.</div>
    </blockquote></div>
    Thanks for the hint. Freeswitch log shows:<br>
    tport.c:2773 tport_wakeup() tport_wakeup(0x7f59ccddbb70): events IN<br>
    tport.c:2864 tport_recv_event() tport_recv_event(0x7f59ccddbb70)<br>
    tport_type_ws.c:232 tport_recv_stream_ws()
    tport_recv_stream_ws(0x7f59ccddbb70): su_getmsgsize(): Host is down
    (112)<br>
    tport.c:2159 tport_shutdown0() tport_shutdown0(0x7f59ccddbb70, 2)<br>
    tport.c:2096 tport_close() tport_close(0x7f59ccddbb70):
    ws/<a href="http://192.168.178.102:40843/sip" target="_blank">192.168.178.102:40843/sip</a><br>
    nua_registrar.c:200 registrar_tport_error() tport error 0: Success<br>
    tport.c:4221 tport_release() tport_release(0x7f59ccddbb70): (nil) by
    0x7f59cce033e0 with (nil)<br>
    tport.c:2265 tport_set_secondary_timer() tport(0x7f59ccddbb70): set
    timer at 0 ms because zap<br>
    nua_stack.c:271 nua_stack_event() nua(0x7f59cce033e0): event
    i_media_error 500 Transport error detected<br>
    nua_stack.c:359 nua_application_event() nua: nua_application_event:
    entering<br>
    tport.c:2265 tport_set_secondary_timer() tport(0x7f59ccddbb70): set
    timer at 0 ms because zap<br>
    tport_type_ws.c:480 tport_ws_deinit_secondary() 0x7f59ccddbb70
    destroy ws transport 0x7f59ccddbd60.<br>
    nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering<br>
    2013-09-06 11:02:17.085874 [ALERT] sofia.c:1461 SOCKET DISCONNECT:
    rfg21joso6g9bf1oblmtqg <a href="http://192.168.178.102:40843" target="_blank">192.168.178.102:40843</a><br>
    <br>
    I am wondering about 3 things:<br>
    <ul>
      <li>Host is down (112) (but netstat shows below that 7443 is open)<br>
      </li>
      <li>ws/<a href="http://192.168.178.102:40843/sip" target="_blank">192.168.178.102:40843/sip</a> (I was expecting wss here instead
        of ws)</li>
      <li>500 Transport error detected</li>
    </ul>
    Do you see where this behaviour may come from?<br>
    <br>
    netstat -anlpe |grep 7443<br>
    tcp        0      0 <a href="http://192.168.178.220:7443" target="_blank">192.168.178.220:7443</a>    0.0.0.0:*              
    LISTEN      0          1460052941  25340/freeswitch<br>
    <br>
    Jssip shows:<div class="im"><br>
    JsSIP | TRANSPORT | connecting to WebSocket <a>wss://mydomain.com:7443</a>
    jssip-devel.js:556<br>
    JsSIP | TRANSPORT | WebSocket connection error: [object Event]
    jssip-devel.js:717<br>
    JsSIP | TRANSPORT | WebSocket disconnected (code: 1006)
    jssip-devel.js:611<br>
    JsSIP | TRANSPORT | WebSocket abrupt disconnection
    jssip-devel.js:614<br>
    JsSIP | UA | transport <a>wss://mydomain.com:7443</a> failed | connection
    state set to 2 jssip-devel.js:5292<br>
    <br></div>
    By the way, if I open <a href="http://192.168.178.220:7443" target="_blank">http://192.168.178.220:7443</a> manually in the
    Chrome Browser, I read in Freeswitch&#39;s log:<br>
    tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x1feebb0): events
    IN<br>
    tport.c:869 tport_alloc_secondary()
    tport_alloc_secondary(0x1feebb0): new secondary tport 0x7f59b842cdd0<br>
    tport.c:2622 tport_accept() tport_accept(0x1feebb0): incoming
    secondary on wss/<a href="http://192.168.178.220:7443/sips" target="_blank">192.168.178.220:7443/sips</a> failed. reason = WS_INIT<div class="im"><br>
    <br>
    <pre cols="72">-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
<a href="mailto:lists" target="_blank">mailto:lists</a> (att) <a href="http://telefaks.de" target="_blank">telefaks.de</a>
Internet: <a href="http://www.telefaks.de" target="_blank">www.telefaks.de</a>

</pre>
  </div></div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900
</div>