Timeout when connecting to localhost:7443/jazz (RTC extension workshop on 6.0.1)

I'm setting up the RTC extension workshop on RTC 6.0.1 and following the workshop instructions. At the step Testing the Jetty Based Server Launch, when I launch the jetty server, I get following on the console:
2017-04-08 13:45:20.787 java[87678:1849419] WARNING: nextEventMatchingMask should only be called from the Main Thread! This will throw an exception in the future.
2017-04-08 13:45:24.949:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
2017-04-08 13:45:24.979:INFO::jetty-6.1.x
2017-04-08 13:45:25.048:INFO::Started SocketConnector@0.0.0.0:7080
2017-04-08 13:45:25.054:INFO::Started SslSocketConnector@0.0.0.0:7443
2017-04-08 13:45:25.285 java[87678:1849410] !!! BUG: The current event queue and the main event queue are not the same. Events will not be handled correctly. This is probably because _TSGetMainThread was called for the first time off the main thread.
lsof -i -P | grep 7443 returns:I'm doing this on MacOS.
IPv6 0x6d3b53f5d0ee74df 0t0 TCP localhost:7443->localhost:52030 (ESTABLISHED)
IPv6 0x6d3b53f5bceaba1f 0t0 TCP *:7443 (LISTEN)
IPv6 0x6d3b53f5bc1e0f9f 0t0 TCP localhost:52030->localhost:7443 (ESTABLISHED)
<style type="text/css"> p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #839496; background-color: #022b36} span.s1 {font-variant-ligatures: no-common-ligatures} </style>
<style type="text/css"> p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #839496; background-color: #022b36} span.s1 {font-variant-ligatures: no-common-ligatures} </style>
2 answers

I suspect that it has something to do with IPv6. You can try to force IPv4 and see how it goes.
http://stackoverflow.com/questions/40724761/how-to-force-jetty-to-use-ipv4
http://stackoverflow.com/questions/11850655/how-can-i-disable-ipv6-stack-use-for-ipv4-ips-on-jre

My experiences with the workshop with 6.0.x are here: https://rsjazz.wordpress.com/2016/02/04/running-the-rtc-extensions-workshop-with-rtc-6-0-x/
Comments
Andrei Lurie
Apr 10 '17, 7:50 p.m.Update: I tried doing this on Windows and it works ok. Doing the same steps on Mac does not work for me. Even with IPv4, still timeout.
Google 566 IPv4 TCP localhost:57590->localhost:7443 (ESTABLISHED)
Google 566 IPv4 TCP localhost:57591->localhost:7443 (ESTABLISHED)
java 14418 IPv4 TCP localhost:7443->localhost:57590 (ESTABLISHED)
java 14418 IPv4 TCP *:7443 (LISTEN)
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Apr 11 '17, 1:58 a.m.Donald Nong
Apr 17 '17, 3:27 a.m.I've tried a few things on a Mac and got the exact same issue. I switch between Java 6, 7 and 8 but it makes no differences. After enabling debugging, I can see that Jetty claims that security port 7443 is open, and the correct SSL certificate is associated. But when trying to establish an SSL connection at port 7443, the Jetty server does not send the "Server Hello" packet to the client after the client initiates a connection and sends a "Client Hello". The client (openssl, or any browsers) then closes the connection after a couple of seconds. It seems that whatever the code handling the incoming connection is not working on a Mac.