<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 09/06/13 00:52, Anthony Minessale
wrote:<br>
</div>
<blockquote
cite="mid:CAKbxfG-fFLpXwimfxe=TMWADFdDyrEKxKL6JG7EQce7AJCWQOg@mail.gmail.com"
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>
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/192.168.178.102:40843/sip<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 192.168.178.102:40843<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/192.168.178.102:40843/sip (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 192.168.178.220:7443 0.0.0.0:*
LISTEN 0 1460052941 25340/freeswitch<br>
<br>
Jssip shows:<br>
JsSIP | TRANSPORT | connecting to WebSocket <a class="moz-txt-link-freetext" href="wss://mydomain.com:7443">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 class="moz-txt-link-freetext" href="wss://mydomain.com:7443">wss://mydomain.com:7443</a> failed | connection
state set to 2 jssip-devel.js:5292<br>
<br>
By the way, if I open <a class="moz-txt-link-freetext" href="http://192.168.178.220:7443">http://192.168.178.220:7443</a> manually in the
Chrome Browser, I read in Freeswitch'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/192.168.178.220:7443/sips failed. reason = WS_INIT<br>
<br>
<pre class="moz-signature" cols="72">--
With kind regards
Peter Steinbach
Telefaks Services GmbH
<a class="moz-txt-link-freetext" href="mailto:lists">mailto:lists</a> (att) telefaks.de
Internet: <a class="moz-txt-link-abbreviated" href="http://www.telefaks.de">www.telefaks.de</a>
</pre>
</body>
</html>