Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect error descriptions are invalid #99

Closed
bsergean opened this issue Aug 13, 2019 · 0 comments
Closed

Connect error descriptions are invalid #99

bsergean opened this issue Aug 13, 2019 · 0 comments

Comments

@bsergean
Copy link
Collaborator

Connecting to url: ws://127.0.0.1
> Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connect error: Operation now in progress
#retries: 1
Wait time(ms): 100
HTTP Status: 0

instead it should say:

Connecting to url: ws://127.0.0.1
> Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 1
Wait time(ms): 100
HTTP Status: 0

git bisect says that this is the bad commit: 705625a

Full git bisect log (what an amazing tool ...)

(venv) IXWebSocket$ git bisect start 
(venv) IXWebSocket$ git bisect bad   
(venv) IXWebSocket$ git bisect good 0e59927384cbd3fa3d54d2f941271635e5c3876c
Bisecting: 62 revisions left to test after this (roughly 6 steps)
[6177fe7803fe526867bbc338f354aeccefb2a08f] add notes about mbedtls CMake
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ make
mkdir -p build && (cd build ; cmake -DUSE_TLS=1 -DUSE_WS=1 -DUSE_MBED_TLS=1 .. ; make -j install)
-- Found PythonInterp: /Users/bsergeant/src/foss/cobra/venv/bin/python (found version "3.7.2") 
-- Found Perl: /opt/local/bin/perl (found version "5.16.3") 
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/bsergeant/src/foss/IXWebSocket/build
Scanning dependencies of target mbedcrypto
[  2%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/arc4.c.o
[  2%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/aesni.c.o
[  3%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/aria.c.o
[  3%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/aes.c.o
[  3%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/asn1parse.c.o
[  4%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/asn1write.c.o
[  5%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/base64.c.o
[  5%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/bignum.c.o
[  6%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/blowfish.c.o
[  7%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/ccm.c.o
[  7%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/camellia.c.o
[  8%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/chacha20.c.o
[  9%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/chachapoly.c.o
[  9%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/cipher.c.o
[ 10%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/cipher_wrap.c.o
[ 11%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/cmac.c.o
[ 11%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/ctr_drbg.c.o
[ 12%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/des.c.o
[ 13%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/dhm.c.o
[ 13%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/ecdh.c.o
[ 14%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/ecdsa.c.o
[ 15%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/ecjpake.c.o
[ 15%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/ecp_curves.c.o
[ 16%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/ecp.c.o
[ 17%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/entropy_poll.c.o
[ 18%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/entropy.c.o
[ 19%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/havege.c.o
[ 19%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/gcm.c.o
[ 20%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/hkdf.c.o
[ 20%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/hmac_drbg.c.o
[ 21%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/md.c.o
[ 22%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/md2.c.o
[ 22%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/md4.c.o
[ 23%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/md_wrap.c.o
[ 24%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/md5.c.o
[ 24%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/memory_buffer_alloc.c.o
[ 25%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/oid.c.o
[ 26%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/nist_kw.c.o
[ 26%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/padlock.c.o
[ 27%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/pem.c.o
[ 28%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/pk.c.o
[ 29%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/pkcs12.c.o
[ 30%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/pkparse.c.o
[ 30%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/pkcs5.c.o
[ 31%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/pkwrite.c.o
[ 32%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/platform.c.o
[ 32%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/psa_crypto_storage.c.o
[ 33%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/psa_crypto.c.o
[ 34%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/psa_its_file.c.o
[ 35%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/psa_crypto_slot_management.c.o
[ 35%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/pk_wrap.c.o
[ 36%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/poly1305.c.o
[ 36%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/platform_util.c.o
[ 37%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/rsa_internal.c.o
[ 38%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/ripemd160.c.o
[ 38%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/rsa.c.o
[ 39%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/__/__/library/version.c.o
[ 39%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/sha256.c.o
[ 39%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/__/__/library/version_features.c.o
[ 41%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/sha1.c.o
[ 41%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/sha512.c.o
[ 43%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/__/__/library/error.c.o
[ 43%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/threading.c.o
[ 43%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/timing.c.o
[ 44%] Building C object third_party/mbedtls/crypto/library/CMakeFiles/mbedcrypto.dir/xtea.c.o
[ 45%] Linking C static library libmbedcrypto.a
[ 45%] Built target mbedcrypto
Scanning dependencies of target mbedx509
[ 46%] Building C object third_party/mbedtls/library/CMakeFiles/mbedx509.dir/x509.c.o
[ 46%] Building C object third_party/mbedtls/library/CMakeFiles/mbedx509.dir/certs.c.o
[ 46%] Building C object third_party/mbedtls/library/CMakeFiles/mbedx509.dir/x509_create.c.o
[ 47%] Building C object third_party/mbedtls/library/CMakeFiles/mbedx509.dir/pkcs11.c.o
[ 48%] Building C object third_party/mbedtls/library/CMakeFiles/mbedx509.dir/x509_crl.c.o
[ 49%] Building C object third_party/mbedtls/library/CMakeFiles/mbedx509.dir/x509_crt.c.o
[ 49%] Building C object third_party/mbedtls/library/CMakeFiles/mbedx509.dir/x509_csr.c.o
[ 51%] Building C object third_party/mbedtls/library/CMakeFiles/mbedx509.dir/x509write_crt.c.o
[ 51%] Building C object third_party/mbedtls/library/CMakeFiles/mbedx509.dir/x509write_csr.c.o
[ 51%] Linking C static library libmbedx509.a
[ 51%] Built target mbedx509
Scanning dependencies of target mbedtls
[ 51%] Building C object third_party/mbedtls/library/CMakeFiles/mbedtls.dir/debug.c.o
[ 51%] Building C object third_party/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_ciphersuites.c.o
[ 52%] Building C object third_party/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_cache.c.o
[ 53%] Building C object third_party/mbedtls/library/CMakeFiles/mbedtls.dir/net_sockets.c.o
[ 54%] Building C object third_party/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_cli.c.o
[ 55%] Building C object third_party/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_cookie.c.o
[ 56%] Building C object third_party/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_srv.c.o
[ 57%] Building C object third_party/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_tls.c.o
[ 57%] Building C object third_party/mbedtls/library/CMakeFiles/mbedtls.dir/ssl_ticket.c.o
[ 58%] Linking C static library libmbedtls.a
[ 58%] Built target mbedtls
Scanning dependencies of target ixwebsocket
[ 59%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketServer.cpp.o
[ 59%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocket.cpp.o
[ 60%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketConnect.cpp.o
[ 61%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXDNSLookup.cpp.o
[ 62%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXCancellationRequest.cpp.o
[ 62%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketFactory.cpp.o
[ 62%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXNetSystem.cpp.o
[ 63%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocket.cpp.o
[ 63%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketTransport.cpp.o
[ 64%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketServer.cpp.o
[ 65%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHandshake.cpp.o
[ 66%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketPerMessageDeflate.cpp.o
[ 66%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketPerMessageDeflateCodec.cpp.o
[ 67%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketPerMessageDeflateOptions.cpp.o
[ 69%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttpClient.cpp.o
[ 69%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterrupt.cpp.o
[ 70%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketMessageQueue.cpp.o
[ 70%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/LUrlParser.cpp.o
[ 69%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXUrlParser.cpp.o
[ 71%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterruptPipe.cpp.o
[ 73%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketMbedTLS.cpp.o
[ 73%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXConnectionState.cpp.o
[ 73%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/apple/IXSetThreadName_apple.cpp.o
[ 74%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHttpHeaders.cpp.o
[ 75%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterruptFactory.cpp.o
[ 75%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketCloseConstants.cpp.o
[ 76%] Linking CXX static library libixwebsocket.a
[ 76%] Built target ixwebsocket
Scanning dependencies of target ws
[ 78%] Building CXX object ws/CMakeFiles/ws.dir/__/third_party/jsoncpp/jsoncpp.cpp.o
[ 78%] Building CXX object ws/CMakeFiles/ws.dir/__/third_party/msgpack11/msgpack11.cpp.o
[ 79%] Building CXX object ws/CMakeFiles/ws.dir/ixcrypto/IXHash.cpp.o
[ 79%] Building CXX object ws/CMakeFiles/ws.dir/ixcore/utils/IXCoreLogger.cpp.o
[ 80%] Building CXX object ws/CMakeFiles/ws.dir/ixcrypto/IXUuid.cpp.o
[ 80%] Building CXX object ws/CMakeFiles/ws.dir/__/third_party/statsd-client-cpp/src/statsd_client.cpp.o
[ 81%] Building CXX object ws/CMakeFiles/ws.dir/ixcrypto/IXBase64.cpp.o
[ 82%] Building CXX object ws/CMakeFiles/ws.dir/ixcrypto/IXHMac.cpp.o
[ 83%] Building CXX object ws/CMakeFiles/ws.dir/ixcobra/IXCobraMetricsPublisher.cpp.o
[ 83%] Building CXX object ws/CMakeFiles/ws.dir/ixcobra/IXCobraConnection.cpp.o
[ 84%] Building CXX object ws/CMakeFiles/ws.dir/ixcobra/IXCobraMetricsThreadedPublisher.cpp.o
[ 85%] Building CXX object ws/CMakeFiles/ws.dir/snake/IXSnakeServer.cpp.o
[ 86%] Building CXX object ws/CMakeFiles/ws.dir/snake/IXAppConfig.cpp.o
[ 86%] Building CXX object ws/CMakeFiles/ws.dir/IXSentryClient.cpp.o
[ 87%] Building CXX object ws/CMakeFiles/ws.dir/IXRedisClient.cpp.o
[ 88%] Building CXX object ws/CMakeFiles/ws.dir/ws_http_client.cpp.o
[ 89%] Building CXX object ws/CMakeFiles/ws.dir/ws_ping_pong.cpp.o
[ 89%] Building CXX object ws/CMakeFiles/ws.dir/ws_broadcast_server.cpp.o
[ 90%] Building CXX object ws/CMakeFiles/ws.dir/ws_chat.cpp.o
[ 90%] Building CXX object ws/CMakeFiles/ws.dir/ws_connect.cpp.o
[ 90%] Building CXX object ws/CMakeFiles/ws.dir/ws_receive.cpp.o
[ 91%] Building CXX object ws/CMakeFiles/ws.dir/ws_redis_publish.cpp.o
[ 91%] Building CXX object ws/CMakeFiles/ws.dir/snake/IXSnakeProtocol.cpp.o
[ 92%] Building CXX object ws/CMakeFiles/ws.dir/ws_cobra_publish.cpp.o
[ 93%] Building CXX object ws/CMakeFiles/ws.dir/ws_echo_server.cpp.o
[ 94%] Building CXX object ws/CMakeFiles/ws.dir/ws_send.cpp.o
[ 94%] Building CXX object ws/CMakeFiles/ws.dir/ws_cobra_subscribe.cpp.o
[ 95%] Building CXX object ws/CMakeFiles/ws.dir/ws_transfer.cpp.o
[ 96%] Building CXX object ws/CMakeFiles/ws.dir/ws_redis_subscribe.cpp.o
[ 96%] Building CXX object ws/CMakeFiles/ws.dir/ws_cobra_to_sentry.cpp.o
[ 97%] Building CXX object ws/CMakeFiles/ws.dir/ws_cobra_to_statsd.cpp.o
[ 98%] Building CXX object ws/CMakeFiles/ws.dir/ws_snake.cpp.o
[ 99%] Building CXX object ws/CMakeFiles/ws.dir/ws.cpp.o
In file included from /Users/bsergeant/src/foss/IXWebSocket/ws/ws.cpp:22:
In file included from /Users/bsergeant/src/foss/IXWebSocket/ws/../third_party/cli11/CLI11.hpp:152:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/experimental/optional:163:4: warning: 
      "<experimental/optional> is deprecated and will be removed in the next release. Please use C++17's
      <optional> instead." [-W#warnings]
#  warning "<experimental/optional> is deprecated and will be removed in the next release. Please us...
   ^
1 warning generated.
[100%] Linking CXX executable ws
[100%] Built target ws
Install the project...
-- Install configuration: "Debug"
-- Installing: /usr/local/lib/libixwebsocket.a
-- Installing: /usr/local/include/ixwebsocket/IXSocket.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketServer.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketConnect.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketFactory.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSetThreadName.h
-- Installing: /usr/local/include/ixwebsocket/IXDNSLookup.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXCancellationRequest.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXNetSystem.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXProgressCallback.h
-- Installing: /usr/local/include/ixwebsocket/IXWebSocket.h
-- Installing: /usr/local/include/ixwebsocket/IXWebSocketServer.h
-- Installing: /usr/local/include/ixwebsocket/IXWebSocketTransport.h
-- Installing: /usr/local/include/ixwebsocket/IXWebSocketHandshake.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketSendInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketErrorInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflate.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflateCodec.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflateOptions.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketHttpHeaders.h
-- Up-to-date: /usr/local/include/ixwebsocket/libwshandshake.hpp
-- Installing: /usr/local/include/ixwebsocket/IXHttpClient.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXUrlParser.h
-- Up-to-date: /usr/local/include/ixwebsocket/LUrlParser.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSelectInterrupt.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSelectInterruptFactory.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXConnectionState.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketCloseConstants.h
-- Installing: /usr/local/include/ixwebsocket/IXWebSocketMessageQueue.h
-- Installing: /usr/local/include/ixwebsocket/IXSocketMbedTLS.h
-- Installing: /usr/local/lib/libmbedtls.a
-- Installing: /usr/local/lib/libmbedx509.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libmbedx509.a(pkcs11.c.o) has no symbols
-- Installing: /usr/local/include/mbedtls/aes.h
-- Installing: /usr/local/include/mbedtls/aesni.h
-- Installing: /usr/local/include/mbedtls/arc4.h
-- Installing: /usr/local/include/mbedtls/aria.h
-- Installing: /usr/local/include/mbedtls/asn1.h
-- Installing: /usr/local/include/mbedtls/asn1write.h
-- Installing: /usr/local/include/mbedtls/base64.h
-- Installing: /usr/local/include/mbedtls/bignum.h
-- Installing: /usr/local/include/mbedtls/blowfish.h
-- Installing: /usr/local/include/mbedtls/bn_mul.h
-- Installing: /usr/local/include/mbedtls/camellia.h
-- Installing: /usr/local/include/mbedtls/ccm.h
-- Installing: /usr/local/include/mbedtls/certs.h
-- Installing: /usr/local/include/mbedtls/chacha20.h
-- Installing: /usr/local/include/mbedtls/chachapoly.h
-- Installing: /usr/local/include/mbedtls/check_config.h
-- Installing: /usr/local/include/mbedtls/cipher.h
-- Installing: /usr/local/include/mbedtls/cipher_internal.h
-- Installing: /usr/local/include/mbedtls/cmac.h
-- Installing: /usr/local/include/mbedtls/compat-1.3.h
-- Installing: /usr/local/include/mbedtls/config.h
-- Installing: /usr/local/include/mbedtls/ctr_drbg.h
-- Installing: /usr/local/include/mbedtls/debug.h
-- Installing: /usr/local/include/mbedtls/des.h
-- Installing: /usr/local/include/mbedtls/dhm.h
-- Installing: /usr/local/include/mbedtls/ecdh.h
-- Installing: /usr/local/include/mbedtls/ecdsa.h
-- Installing: /usr/local/include/mbedtls/ecjpake.h
-- Installing: /usr/local/include/mbedtls/ecp.h
-- Installing: /usr/local/include/mbedtls/ecp_internal.h
-- Installing: /usr/local/include/mbedtls/entropy.h
-- Installing: /usr/local/include/mbedtls/entropy_poll.h
-- Installing: /usr/local/include/mbedtls/error.h
-- Installing: /usr/local/include/mbedtls/gcm.h
-- Installing: /usr/local/include/mbedtls/havege.h
-- Installing: /usr/local/include/mbedtls/hkdf.h
-- Installing: /usr/local/include/mbedtls/hmac_drbg.h
-- Installing: /usr/local/include/mbedtls/md.h
-- Installing: /usr/local/include/mbedtls/md2.h
-- Installing: /usr/local/include/mbedtls/md4.h
-- Installing: /usr/local/include/mbedtls/md5.h
-- Installing: /usr/local/include/mbedtls/md_internal.h
-- Installing: /usr/local/include/mbedtls/memory_buffer_alloc.h
-- Installing: /usr/local/include/mbedtls/net.h
-- Installing: /usr/local/include/mbedtls/net_sockets.h
-- Installing: /usr/local/include/mbedtls/nist_kw.h
-- Installing: /usr/local/include/mbedtls/oid.h
-- Installing: /usr/local/include/mbedtls/padlock.h
-- Installing: /usr/local/include/mbedtls/pem.h
-- Installing: /usr/local/include/mbedtls/pk.h
-- Installing: /usr/local/include/mbedtls/pk_internal.h
-- Installing: /usr/local/include/mbedtls/pkcs11.h
-- Installing: /usr/local/include/mbedtls/pkcs12.h
-- Installing: /usr/local/include/mbedtls/pkcs5.h
-- Installing: /usr/local/include/mbedtls/platform.h
-- Installing: /usr/local/include/mbedtls/platform_time.h
-- Installing: /usr/local/include/mbedtls/platform_util.h
-- Installing: /usr/local/include/mbedtls/poly1305.h
-- Installing: /usr/local/include/mbedtls/psa_util.h
-- Installing: /usr/local/include/mbedtls/ripemd160.h
-- Installing: /usr/local/include/mbedtls/rsa.h
-- Installing: /usr/local/include/mbedtls/rsa_internal.h
-- Installing: /usr/local/include/mbedtls/sha1.h
-- Installing: /usr/local/include/mbedtls/sha256.h
-- Installing: /usr/local/include/mbedtls/sha512.h
-- Installing: /usr/local/include/mbedtls/ssl.h
-- Installing: /usr/local/include/mbedtls/ssl_cache.h
-- Installing: /usr/local/include/mbedtls/ssl_ciphersuites.h
-- Installing: /usr/local/include/mbedtls/ssl_cookie.h
-- Installing: /usr/local/include/mbedtls/ssl_internal.h
-- Installing: /usr/local/include/mbedtls/ssl_ticket.h
-- Installing: /usr/local/include/mbedtls/threading.h
-- Installing: /usr/local/include/mbedtls/timing.h
-- Installing: /usr/local/include/mbedtls/version.h
-- Installing: /usr/local/include/mbedtls/x509.h
-- Installing: /usr/local/include/mbedtls/x509_crl.h
-- Installing: /usr/local/include/mbedtls/x509_crt.h
-- Installing: /usr/local/include/mbedtls/x509_csr.h
-- Installing: /usr/local/include/mbedtls/xtea.h
-- Installing: /usr/local/lib/libmbedcrypto.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libmbedcrypto.a(aria.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libmbedcrypto.a(cmac.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libmbedcrypto.a(ecjpake.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libmbedcrypto.a(havege.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libmbedcrypto.a(md2.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libmbedcrypto.a(md4.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libmbedcrypto.a(memory_buffer_alloc.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libmbedcrypto.a(nist_kw.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libmbedcrypto.a(padlock.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libmbedcrypto.a(psa_crypto_storage.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libmbedcrypto.a(psa_its_file.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libmbedcrypto.a(threading.c.o) has no symbols
-- Up-to-date: /usr/local/include/mbedtls/aes.h
-- Up-to-date: /usr/local/include/mbedtls/aesni.h
-- Up-to-date: /usr/local/include/mbedtls/arc4.h
-- Up-to-date: /usr/local/include/mbedtls/aria.h
-- Up-to-date: /usr/local/include/mbedtls/asn1.h
-- Up-to-date: /usr/local/include/mbedtls/asn1write.h
-- Up-to-date: /usr/local/include/mbedtls/base64.h
-- Up-to-date: /usr/local/include/mbedtls/bignum.h
-- Up-to-date: /usr/local/include/mbedtls/blowfish.h
-- Up-to-date: /usr/local/include/mbedtls/bn_mul.h
-- Up-to-date: /usr/local/include/mbedtls/camellia.h
-- Up-to-date: /usr/local/include/mbedtls/ccm.h
-- Up-to-date: /usr/local/include/mbedtls/certs.h
-- Up-to-date: /usr/local/include/mbedtls/chacha20.h
-- Up-to-date: /usr/local/include/mbedtls/chachapoly.h
-- Up-to-date: /usr/local/include/mbedtls/check_config.h
-- Up-to-date: /usr/local/include/mbedtls/cipher.h
-- Up-to-date: /usr/local/include/mbedtls/cipher_internal.h
-- Up-to-date: /usr/local/include/mbedtls/cmac.h
-- Up-to-date: /usr/local/include/mbedtls/compat-1.3.h
-- Up-to-date: /usr/local/include/mbedtls/config.h
-- Up-to-date: /usr/local/include/mbedtls/ctr_drbg.h
-- Up-to-date: /usr/local/include/mbedtls/des.h
-- Up-to-date: /usr/local/include/mbedtls/dhm.h
-- Up-to-date: /usr/local/include/mbedtls/ecdh.h
-- Up-to-date: /usr/local/include/mbedtls/ecdsa.h
-- Up-to-date: /usr/local/include/mbedtls/ecjpake.h
-- Up-to-date: /usr/local/include/mbedtls/ecp.h
-- Up-to-date: /usr/local/include/mbedtls/ecp_internal.h
-- Up-to-date: /usr/local/include/mbedtls/entropy.h
-- Up-to-date: /usr/local/include/mbedtls/entropy_poll.h
-- Up-to-date: /usr/local/include/mbedtls/error.h
-- Up-to-date: /usr/local/include/mbedtls/gcm.h
-- Up-to-date: /usr/local/include/mbedtls/havege.h
-- Up-to-date: /usr/local/include/mbedtls/hkdf.h
-- Up-to-date: /usr/local/include/mbedtls/hmac_drbg.h
-- Up-to-date: /usr/local/include/mbedtls/md.h
-- Up-to-date: /usr/local/include/mbedtls/md2.h
-- Up-to-date: /usr/local/include/mbedtls/md4.h
-- Up-to-date: /usr/local/include/mbedtls/md5.h
-- Up-to-date: /usr/local/include/mbedtls/md_internal.h
-- Up-to-date: /usr/local/include/mbedtls/memory_buffer_alloc.h
-- Up-to-date: /usr/local/include/mbedtls/nist_kw.h
-- Up-to-date: /usr/local/include/mbedtls/oid.h
-- Up-to-date: /usr/local/include/mbedtls/padlock.h
-- Up-to-date: /usr/local/include/mbedtls/pem.h
-- Up-to-date: /usr/local/include/mbedtls/pk.h
-- Up-to-date: /usr/local/include/mbedtls/pk_internal.h
-- Up-to-date: /usr/local/include/mbedtls/pkcs12.h
-- Up-to-date: /usr/local/include/mbedtls/pkcs5.h
-- Up-to-date: /usr/local/include/mbedtls/platform.h
-- Up-to-date: /usr/local/include/mbedtls/platform_time.h
-- Up-to-date: /usr/local/include/mbedtls/platform_util.h
-- Up-to-date: /usr/local/include/mbedtls/poly1305.h
-- Up-to-date: /usr/local/include/mbedtls/psa_util.h
-- Up-to-date: /usr/local/include/mbedtls/ripemd160.h
-- Up-to-date: /usr/local/include/mbedtls/rsa.h
-- Up-to-date: /usr/local/include/mbedtls/rsa_internal.h
-- Up-to-date: /usr/local/include/mbedtls/sha1.h
-- Up-to-date: /usr/local/include/mbedtls/sha256.h
-- Up-to-date: /usr/local/include/mbedtls/sha512.h
-- Up-to-date: /usr/local/include/mbedtls/threading.h
-- Up-to-date: /usr/local/include/mbedtls/timing.h
-- Up-to-date: /usr/local/include/mbedtls/version.h
-- Up-to-date: /usr/local/include/mbedtls/xtea.h
-- Installing: /usr/local/include/psa/crypto.h
-- Installing: /usr/local/include/psa/crypto_accel_driver.h
-- Installing: /usr/local/include/psa/crypto_driver_common.h
-- Installing: /usr/local/include/psa/crypto_entropy_driver.h
-- Installing: /usr/local/include/psa/crypto_extra.h
-- Installing: /usr/local/include/psa/crypto_platform.h
-- Installing: /usr/local/include/psa/crypto_se_driver.h
-- Installing: /usr/local/include/psa/crypto_sizes.h
-- Installing: /usr/local/include/psa/crypto_struct.h
-- Installing: /usr/local/include/psa/crypto_types.h
-- Installing: /usr/local/include/psa/crypto_values.h
-- Installing: /usr/local/bin/ws
(venv) IXWebSocket$ cd ws connect ws://127.0.0.1                       
cd: too many arguments
(venv) IXWebSocket$ ws connect ws://127.0.0.1  
Type Ctrl-D to exit prompt...
Connecting to url: ws://127.0.0.1
> Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 1
Wait time(ms): 100
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 2
Wait time(ms): 200
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 3
Wait time(ms): 400
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 4
Wait time(ms): 800
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 5
Wait time(ms): 1600
HTTP Status: 0

^C
(venv) IXWebSocket$ 
(venv) IXWebSocket$ git bisect good                                         
Bisecting: 31 revisions left to test after this (roughly 5 steps)
[5f4a43084575bd0e7b4a172f0c5ad4314aca7a07] disable building ws on windows on travis
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ make && ws connect ws://127.0.0.1
mkdir -p build && (cd build ; cmake -DUSE_TLS=1 -DUSE_WS=1 .. ; make -j install)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/bsergeant/src/foss/IXWebSocket/build
Scanning dependencies of target ixwebsocket
[  1%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXConnectionState.cpp.o
[  3%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXDNSLookup.cpp.o
[  6%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXCancellationRequest.cpp.o
[  6%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttpClient.cpp.o
[  8%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXNetSystem.cpp.o
[  9%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterrupt.cpp.o
[ 11%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterruptFactory.cpp.o
[ 13%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketConnect.cpp.o
[ 16%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocket.cpp.o
[ 16%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketFactory.cpp.o
[ 18%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXUrlParser.cpp.o
[ 19%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketServer.cpp.o
[ 21%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocket.cpp.o
[ 22%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHttpHeaders.cpp.o
[ 24%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHandshake.cpp.o
[ 26%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketMessageQueue.cpp.o
[ 27%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketPerMessageDeflate.cpp.o
[ 29%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketServer.cpp.o
[ 31%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/LUrlParser.cpp.o
[ 32%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketCloseConstants.cpp.o
[ 39%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterruptPipe.cpp.o
[ 40%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketPerMessageDeflateOptions.cpp.o
[ 42%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketTransport.cpp.o
[ 42%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketPerMessageDeflateCodec.cpp.o
[ 40%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/apple/IXSetThreadName_apple.cpp.o
[ 42%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketMbedTLS.cpp.o
[ 44%] Linking CXX static library libixwebsocket.a
[ 44%] Built target ixwebsocket
Scanning dependencies of target ws
[ 45%] Building CXX object ws/CMakeFiles/ws.dir/__/third_party/msgpack11/msgpack11.cpp.o
[ 47%] Building CXX object ws/CMakeFiles/ws.dir/ixcore/utils/IXCoreLogger.cpp.o
[ 49%] Building CXX object ws/CMakeFiles/ws.dir/__/third_party/jsoncpp/jsoncpp.cpp.o
[ 50%] Building CXX object ws/CMakeFiles/ws.dir/__/third_party/statsd-client-cpp/src/statsd_client.cpp.o
[ 54%] Building CXX object ws/CMakeFiles/ws.dir/ixcrypto/IXUuid.cpp.o
[ 55%] Building CXX object ws/CMakeFiles/ws.dir/ixcrypto/IXBase64.cpp.o
[ 55%] Building CXX object ws/CMakeFiles/ws.dir/ixcrypto/IXHash.cpp.o
[ 57%] Building CXX object ws/CMakeFiles/ws.dir/ixcrypto/IXHMac.cpp.o
[ 60%] Building CXX object ws/CMakeFiles/ws.dir/ixcobra/IXCobraConnection.cpp.o
[ 60%] Building CXX object ws/CMakeFiles/ws.dir/ixcobra/IXCobraMetricsPublisher.cpp.o
[ 62%] Building CXX object ws/CMakeFiles/ws.dir/ixcobra/IXCobraMetricsThreadedPublisher.cpp.o
[ 63%] Building CXX object ws/CMakeFiles/ws.dir/snake/IXSnakeServer.cpp.o
[ 65%] Building CXX object ws/CMakeFiles/ws.dir/snake/IXSnakeProtocol.cpp.o
[ 68%] Building CXX object ws/CMakeFiles/ws.dir/IXRedisClient.cpp.o
[ 68%] Building CXX object ws/CMakeFiles/ws.dir/snake/IXAppConfig.cpp.o
[ 70%] Building CXX object ws/CMakeFiles/ws.dir/ws_ping_pong.cpp.o
[ 72%] Building CXX object ws/CMakeFiles/ws.dir/ws_broadcast_server.cpp.o
[ 73%] Building CXX object ws/CMakeFiles/ws.dir/ws_transfer.cpp.o
[ 75%] Building CXX object ws/CMakeFiles/ws.dir/ws_cobra_subscribe.cpp.o
[ 77%] Building CXX object ws/CMakeFiles/ws.dir/ws_cobra_to_statsd.cpp.o
[ 78%] Building CXX object ws/CMakeFiles/ws.dir/ws.cpp.o
[ 80%] Building CXX object ws/CMakeFiles/ws.dir/ws_cobra_to_sentry.cpp.o
[ 81%] Building CXX object ws/CMakeFiles/ws.dir/ws_http_client.cpp.o
[ 83%] Building CXX object ws/CMakeFiles/ws.dir/IXSentryClient.cpp.o
[ 85%] Building CXX object ws/CMakeFiles/ws.dir/ws_echo_server.cpp.o
[ 86%] Building CXX object ws/CMakeFiles/ws.dir/ws_connect.cpp.o
[ 88%] Building CXX object ws/CMakeFiles/ws.dir/ws_send.cpp.o
[ 90%] Building CXX object ws/CMakeFiles/ws.dir/ws_receive.cpp.o
[ 91%] Building CXX object ws/CMakeFiles/ws.dir/ws_redis_publish.cpp.o
[ 93%] Building CXX object ws/CMakeFiles/ws.dir/ws_redis_subscribe.cpp.o
[ 96%] Building CXX object ws/CMakeFiles/ws.dir/ws_chat.cpp.o
[ 98%] Building CXX object ws/CMakeFiles/ws.dir/ws_cobra_publish.cpp.o
[ 98%] Building CXX object ws/CMakeFiles/ws.dir/ws_snake.cpp.o
In file included from /Users/bsergeant/src/foss/IXWebSocket/ws/ws.cpp:22:
In file included from /Users/bsergeant/src/foss/IXWebSocket/ws/../third_party/cli11/CLI11.hpp:152:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/experimental/optional:163:4: warning: 
      "<experimental/optional> is deprecated and will be removed in the next release. Please use C++17's
      <optional> instead." [-W#warnings]
#  warning "<experimental/optional> is deprecated and will be removed in the next release. Please us...
   ^
1 warning generated.
[100%] Linking CXX executable ws
[100%] Built target ws
Install the project...
-- Install configuration: "Debug"
-- Installing: /usr/local/lib/libixwebsocket.a
-- Up-to-date: /usr/local/include/ixwebsocket/IXCancellationRequest.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXConnectionState.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXDNSLookup.h
-- Installing: /usr/local/include/ixwebsocket/IXHttpClient.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXNetSystem.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXProgressCallback.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSelectInterrupt.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSelectInterruptFactory.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSetThreadName.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocket.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketConnect.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketFactory.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketServer.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXUrlParser.h
-- Installing: /usr/local/include/ixwebsocket/IXWebSocket.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketCloseConstants.h
-- Installing: /usr/local/include/ixwebsocket/IXWebSocketCloseInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketErrorInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketHandshake.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketHttpHeaders.h
-- Installing: /usr/local/include/ixwebsocket/IXWebSocketMessage.h
-- Installing: /usr/local/include/ixwebsocket/IXWebSocketMessageQueue.h
-- Installing: /usr/local/include/ixwebsocket/IXWebSocketMessageType.h
-- Installing: /usr/local/include/ixwebsocket/IXWebSocketOpenInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflate.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflateCodec.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflateOptions.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketSendInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketServer.h
-- Installing: /usr/local/include/ixwebsocket/IXWebSocketTransport.h
-- Up-to-date: /usr/local/include/ixwebsocket/LUrlParser.h
-- Up-to-date: /usr/local/include/ixwebsocket/libwshandshake.hpp
-- Installing: /usr/local/include/ixwebsocket/IXSocketMbedTLS.h
-- Installing: /usr/local/bin/ws
Type Ctrl-D to exit prompt...
Connecting to url: ws://127.0.0.1
> Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 1
Wait time(ms): 100
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 2
Wait time(ms): 200
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 3
Wait time(ms): 400
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 4
Wait time(ms): 800
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 5
Wait time(ms): 1600
HTTP Status: 0

^C
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ git bisect good                  
Bisecting: 15 revisions left to test after this (roughly 4 steps)
[4cbfa7133863a676f86db81e34218ead20124384] switch from select to poll to deal with Android 9 giving us high socket fds when calling ::connect
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ make && ws connect ws://127.0.0.1
mkdir -p build && (cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_TLS=1 -DUSE_WS=1 .. ; make -j install)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/bsergeant/src/foss/IXWebSocket/build
Scanning dependencies of target ixwebsocket
[  1%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttpClient.cpp.o
[  3%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttp.cpp.o
[  4%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXDNSLookup.cpp.o
[  6%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttpServer.cpp.o
[  7%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketConnect.cpp.o
[  9%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocket.cpp.o
[ 10%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketServer.cpp.o
[ 12%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocket.cpp.o
[ 14%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHandshake.cpp.o
[ 15%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHttpHeaders.cpp.o
[ 17%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketServer.cpp.o
[ 18%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketTransport.cpp.o
[ 20%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketMbedTLS.cpp.o
[ 21%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketMessageQueue.cpp.o
[ 23%] Linking CXX static library libixwebsocket.a
[ 45%] Built target ixwebsocket
Scanning dependencies of target ws
[ 46%] Building CXX object ws/CMakeFiles/ws.dir/IXRedisClient.cpp.o
[ 50%] Building CXX object ws/CMakeFiles/ws.dir/ws_httpd.cpp.o
[ 50%] Building CXX object ws/CMakeFiles/ws.dir/IXSentryClient.cpp.o
[ 51%] Building CXX object ws/CMakeFiles/ws.dir/ws.cpp.o
In file included from /Users/bsergeant/src/foss/IXWebSocket/ws/ws.cpp:22:
In file included from /Users/bsergeant/src/foss/IXWebSocket/ws/../third_party/cli11/CLI11.hpp:152:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/experimental/optional:163:4: warning: 
      "<experimental/optional> is deprecated and will be removed in the next release. Please use C++17's
      <optional> instead." [-W#warnings]
#  warning "<experimental/optional> is deprecated and will be removed in the next release. Please us...
   ^
1 warning generated.
[ 53%] Linking CXX executable ws
[100%] Built target ws
Install the project...
-- Install configuration: "Debug"
-- Installing: /usr/local/lib/libixwebsocket.a
-- Up-to-date: /usr/local/include/ixwebsocket/IXCancellationRequest.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXConnectionState.h
-- Installing: /usr/local/include/ixwebsocket/IXDNSLookup.h
-- Installing: /usr/local/include/ixwebsocket/IXHttp.h
-- Installing: /usr/local/include/ixwebsocket/IXHttpClient.h
-- Installing: /usr/local/include/ixwebsocket/IXHttpServer.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXNetSystem.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXProgressCallback.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSelectInterrupt.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSelectInterruptFactory.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSetThreadName.h
-- Installing: /usr/local/include/ixwebsocket/IXSocket.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketConnect.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketFactory.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketServer.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXUrlParser.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocket.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketCloseConstants.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketCloseInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketErrorInfo.h
-- Installing: /usr/local/include/ixwebsocket/IXWebSocketHandshake.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketHttpHeaders.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketMessage.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketMessageQueue.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketMessageType.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketOpenInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflate.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflateCodec.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflateOptions.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketSendInfo.h
-- Installing: /usr/local/include/ixwebsocket/IXWebSocketServer.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketTransport.h
-- Up-to-date: /usr/local/include/ixwebsocket/LUrlParser.h
-- Up-to-date: /usr/local/include/ixwebsocket/libwshandshake.hpp
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketMbedTLS.h
-- Installing: /usr/local/bin/ws
Type Ctrl-D to exit prompt...
Connecting to url: ws://127.0.0.1
> Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connect error: Operation now in progress
#retries: 1
Wait time(ms): 100
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connect error: Operation now in progress
#retries: 2
Wait time(ms): 200
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connect error: Operation now in progress
#retries: 3
Wait time(ms): 400
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connect error: Operation now in progress
#retries: 4
Wait time(ms): 800
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connect error: Operation now in progress
#retries: 5
Wait time(ms): 1600
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connect error: Operation now in progress
#retries: 6
Wait time(ms): 3200
HTTP Status: 0

^C
(venv) IXWebSocket$ 
(venv) IXWebSocket$ git bisect bad                   
Bisecting: 7 revisions left to test after this (roughly 3 steps)
[6f6c1f85eff29e4d6b4f872883cdb1a70038ece3] CI / build zlib and mbedtls locally
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ make && ws connect ws://127.0.0.1
mkdir -p build && (cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_TLS=1 -DUSE_WS=1 .. ; make -j install)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/bsergeant/src/foss/IXWebSocket/build
Scanning dependencies of target ixwebsocket
[  1%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttp.cpp.o
[  4%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttpServer.cpp.o
[  4%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocket.cpp.o
[  6%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttpClient.cpp.o
[  7%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketConnect.cpp.o
[  9%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketFactory.cpp.o
[ 10%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocket.cpp.o
[ 12%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketServer.cpp.o
[ 15%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHandshake.cpp.o
[ 15%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHttpHeaders.cpp.o
[ 17%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketMessageQueue.cpp.o
[ 20%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketServer.cpp.o
[ 21%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketMbedTLS.cpp.o
[ 21%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketTransport.cpp.o
[ 23%] Linking CXX static library libixwebsocket.a
[ 45%] Built target ixwebsocket
Scanning dependencies of target ws
[ 46%] Building CXX object ws/CMakeFiles/ws.dir/snake/IXSnakeProtocol.cpp.o
[ 48%] Building CXX object ws/CMakeFiles/ws.dir/snake/IXSnakeServer.cpp.o
[ 50%] Building CXX object ws/CMakeFiles/ws.dir/ixcobra/IXCobraConnection.cpp.o
[ 51%] Building CXX object ws/CMakeFiles/ws.dir/ws_ping_pong.cpp.o
[ 53%] Building CXX object ws/CMakeFiles/ws.dir/ws_http_client.cpp.o
[ 54%] Building CXX object ws/CMakeFiles/ws.dir/ws_broadcast_server.cpp.o
[ 57%] Building CXX object ws/CMakeFiles/ws.dir/ws_echo_server.cpp.o
[ 57%] Building CXX object ws/CMakeFiles/ws.dir/ws_chat.cpp.o
[ 59%] Building CXX object ws/CMakeFiles/ws.dir/ws_connect.cpp.o
[ 60%] Building CXX object ws/CMakeFiles/ws.dir/ws_transfer.cpp.o
[ 64%] Building CXX object ws/CMakeFiles/ws.dir/ws_send.cpp.o
[ 65%] Building CXX object ws/CMakeFiles/ws.dir/ws_cobra_to_sentry.cpp.o
[ 65%] Building CXX object ws/CMakeFiles/ws.dir/ws_receive.cpp.o
[ 67%] Building CXX object ws/CMakeFiles/ws.dir/ws_snake.cpp.o
[ 68%] Linking CXX executable ws
[100%] Built target ws
Install the project...
-- Install configuration: "Debug"
-- Installing: /usr/local/lib/libixwebsocket.a
-- Up-to-date: /usr/local/include/ixwebsocket/IXCancellationRequest.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXConnectionState.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXDNSLookup.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXHttp.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXHttpClient.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXHttpServer.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXNetSystem.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXProgressCallback.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSelectInterrupt.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSelectInterruptFactory.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSetThreadName.h
-- Installing: /usr/local/include/ixwebsocket/IXSocket.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketConnect.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketFactory.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketServer.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXUrlParser.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocket.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketCloseConstants.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketCloseInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketErrorInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketHandshake.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketHttpHeaders.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketMessage.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketMessageQueue.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketMessageType.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketOpenInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflate.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflateCodec.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflateOptions.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketSendInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketServer.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketTransport.h
-- Up-to-date: /usr/local/include/ixwebsocket/LUrlParser.h
-- Up-to-date: /usr/local/include/ixwebsocket/libwshandshake.hpp
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketMbedTLS.h
-- Installing: /usr/local/bin/ws
Type Ctrl-D to exit prompt...
Connecting to url: ws://127.0.0.1
> Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 1
Wait time(ms): 100
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 2
Wait time(ms): 200
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 3
Wait time(ms): 400
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 4
Wait time(ms): 800
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 5
Wait time(ms): 1600
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 6
Wait time(ms): 3200
HTTP Status: 0

^C
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ git bisect good                  
Bisecting: 3 revisions left to test after this (roughly 2 steps)
[06b4762c19cf6ce8c3a264c810cd90fcfa33ea86] disable CI on Windows
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ make && ws connect ws://127.0.0.1
mkdir -p build && (cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_TLS=1 -DUSE_WS=1 .. ; make -j install)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/bsergeant/src/foss/IXWebSocket/build
[ 45%] Built target ixwebsocket
Scanning dependencies of target ws
[ 46%] Building CXX object ws/CMakeFiles/ws.dir/IXRedisClient.cpp.o
[ 50%] Building CXX object ws/CMakeFiles/ws.dir/IXSentryClient.cpp.o
[ 50%] Building CXX object ws/CMakeFiles/ws.dir/ws_httpd.cpp.o
[ 51%] Building CXX object ws/CMakeFiles/ws.dir/ws.cpp.o
In file included from /Users/bsergeant/src/foss/IXWebSocket/ws/ws.cpp:22:
In file included from /Users/bsergeant/src/foss/IXWebSocket/ws/../third_party/cli11/CLI11.hpp:152:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/experimental/optional:163:4: warning: 
      "<experimental/optional> is deprecated and will be removed in the next release. Please use C++17's
      <optional> instead." [-W#warnings]
#  warning "<experimental/optional> is deprecated and will be removed in the next release. Please us...
   ^
1 warning generated.
[ 53%] Linking CXX executable ws
[100%] Built target ws
Install the project...
-- Install configuration: "Debug"
-- Installing: /usr/local/lib/libixwebsocket.a
-- Up-to-date: /usr/local/include/ixwebsocket/IXCancellationRequest.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXConnectionState.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXDNSLookup.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXHttp.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXHttpClient.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXHttpServer.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXNetSystem.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXProgressCallback.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSelectInterrupt.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSelectInterruptFactory.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSetThreadName.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocket.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketConnect.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketFactory.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketServer.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXUrlParser.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocket.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketCloseConstants.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketCloseInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketErrorInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketHandshake.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketHttpHeaders.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketMessage.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketMessageQueue.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketMessageType.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketOpenInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflate.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflateCodec.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflateOptions.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketSendInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketServer.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketTransport.h
-- Up-to-date: /usr/local/include/ixwebsocket/LUrlParser.h
-- Up-to-date: /usr/local/include/ixwebsocket/libwshandshake.hpp
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketMbedTLS.h
-- Installing: /usr/local/bin/ws
Type Ctrl-D to exit prompt...
Connecting to url: ws://127.0.0.1
> Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 1
Wait time(ms): 100
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 2
Wait time(ms): 200
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 3
Wait time(ms): 400
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 4
Wait time(ms): 800
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 5
Wait time(ms): 1600
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 6
Wait time(ms): 3200
HTTP Status: 0

^C
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ git bisect good                  
Bisecting: 1 revision left to test after this (roughly 1 step)
[01bc6654cb92466f89cf029b925107268981a6a5] Add extra check in IXWebSocketCloseTest.cpp
(venv) IXWebSocket$ make && ws connect ws://127.0.0.1
mkdir -p build && (cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_TLS=1 -DUSE_WS=1 .. ; make -j install)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/bsergeant/src/foss/IXWebSocket/build
Scanning dependencies of target ixwebsocket
[  1%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttp.cpp.o
[  4%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocket.cpp.o
[  4%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttpClient.cpp.o
[  6%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttpServer.cpp.o
[  7%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketConnect.cpp.o
[  9%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketServer.cpp.o
[ 12%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocket.cpp.o
[ 12%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHandshake.cpp.o
[ 14%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketMessageQueue.cpp.o
[ 15%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHttpHeaders.cpp.o
[ 17%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketTransport.cpp.o
[ 18%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketServer.cpp.o
[ 20%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketMbedTLS.cpp.o
[ 21%] Linking CXX static library libixwebsocket.a
[ 45%] Built target ixwebsocket
[ 46%] Linking CXX executable ws
[100%] Built target ws
Install the project...
-- Install configuration: "Debug"
-- Installing: /usr/local/lib/libixwebsocket.a
-- Up-to-date: /usr/local/include/ixwebsocket/IXCancellationRequest.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXConnectionState.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXDNSLookup.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXHttp.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXHttpClient.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXHttpServer.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXNetSystem.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXProgressCallback.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSelectInterrupt.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSelectInterruptFactory.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSetThreadName.h
-- Installing: /usr/local/include/ixwebsocket/IXSocket.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketConnect.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketFactory.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketServer.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXUrlParser.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocket.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketCloseConstants.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketCloseInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketErrorInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketHandshake.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketHttpHeaders.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketMessage.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketMessageQueue.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketMessageType.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketOpenInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflate.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflateCodec.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflateOptions.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketSendInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketServer.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketTransport.h
-- Up-to-date: /usr/local/include/ixwebsocket/LUrlParser.h
-- Up-to-date: /usr/local/include/ixwebsocket/libwshandshake.hpp
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketMbedTLS.h
-- Installing: /usr/local/bin/ws
Type Ctrl-D to exit prompt...
Connecting to url: ws://127.0.0.1
> Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 1
Wait time(ms): 100
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 2
Wait time(ms): 200
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 3
Wait time(ms): 400
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 4
Wait time(ms): 800
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 5
Wait time(ms): 1600
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connection refused
#retries: 6
Wait time(ms): 3200
HTTP Status: 0

^C
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ git bisect good                  
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[705625af0a1d7f612bf7930c0620f61b8218a1f9] refactor select code + add protection against large fds (cf Android 9)
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ make && ws connect ws://127.0.0.1
mkdir -p build && (cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_TLS=1 -DUSE_WS=1 .. ; make -j install)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/bsergeant/src/foss/IXWebSocket/build
Scanning dependencies of target ixwebsocket
[  3%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttp.cpp.o
[  4%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketConnect.cpp.o
[  4%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttpClient.cpp.o
[  6%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocket.cpp.o
[  7%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttpServer.cpp.o
[ 10%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketFactory.cpp.o
[ 12%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketServer.cpp.o
[ 12%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocket.cpp.o
[ 14%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHandshake.cpp.o
[ 15%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHttpHeaders.cpp.o
[ 17%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketMessageQueue.cpp.o
[ 18%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketServer.cpp.o
[ 20%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketTransport.cpp.o
[ 21%] Building CXX object CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketMbedTLS.cpp.o
[ 23%] Linking CXX static library libixwebsocket.a
[ 45%] Built target ixwebsocket
Scanning dependencies of target ws
[ 46%] Building CXX object ws/CMakeFiles/ws.dir/snake/IXSnakeServer.cpp.o
[ 48%] Building CXX object ws/CMakeFiles/ws.dir/IXRedisClient.cpp.o
[ 50%] Building CXX object ws/CMakeFiles/ws.dir/snake/IXSnakeProtocol.cpp.o
[ 51%] Building CXX object ws/CMakeFiles/ws.dir/ixcobra/IXCobraConnection.cpp.o
[ 53%] Building CXX object ws/CMakeFiles/ws.dir/ws_http_client.cpp.o
[ 54%] Building CXX object ws/CMakeFiles/ws.dir/IXSentryClient.cpp.o
[ 56%] Building CXX object ws/CMakeFiles/ws.dir/ws_ping_pong.cpp.o
[ 57%] Building CXX object ws/CMakeFiles/ws.dir/ws_broadcast_server.cpp.o
[ 59%] Building CXX object ws/CMakeFiles/ws.dir/ws_chat.cpp.o
[ 60%] Building CXX object ws/CMakeFiles/ws.dir/ws_connect.cpp.o
[ 62%] Building CXX object ws/CMakeFiles/ws.dir/ws_echo_server.cpp.o
[ 64%] Building CXX object ws/CMakeFiles/ws.dir/ws_transfer.cpp.o
[ 65%] Building CXX object ws/CMakeFiles/ws.dir/ws_send.cpp.o
[ 67%] Building CXX object ws/CMakeFiles/ws.dir/ws_receive.cpp.o
[ 68%] Building CXX object ws/CMakeFiles/ws.dir/ws_cobra_to_sentry.cpp.o
[ 70%] Building CXX object ws/CMakeFiles/ws.dir/ws_snake.cpp.o
[ 71%] Building CXX object ws/CMakeFiles/ws.dir/ws_httpd.cpp.o
[ 73%] Building CXX object ws/CMakeFiles/ws.dir/ws.cpp.o
In file included from /Users/bsergeant/src/foss/IXWebSocket/ws/ws.cpp:22:
In file included from /Users/bsergeant/src/foss/IXWebSocket/ws/../third_party/cli11/CLI11.hpp:152:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/experimental/optional:163:4: warning: 
      "<experimental/optional> is deprecated and will be removed in the next release. Please use C++17's
      <optional> instead." [-W#warnings]
#  warning "<experimental/optional> is deprecated and will be removed in the next release. Please us...
   ^
1 warning generated.
[ 75%] Linking CXX executable ws
[100%] Built target ws
Install the project...
-- Install configuration: "Debug"
-- Installing: /usr/local/lib/libixwebsocket.a
-- Up-to-date: /usr/local/include/ixwebsocket/IXCancellationRequest.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXConnectionState.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXDNSLookup.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXHttp.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXHttpClient.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXHttpServer.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXNetSystem.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXProgressCallback.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSelectInterrupt.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSelectInterruptFactory.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSetThreadName.h
-- Installing: /usr/local/include/ixwebsocket/IXSocket.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketConnect.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketFactory.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketServer.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXUrlParser.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocket.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketCloseConstants.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketCloseInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketErrorInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketHandshake.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketHttpHeaders.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketMessage.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketMessageQueue.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketMessageType.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketOpenInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflate.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflateCodec.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketPerMessageDeflateOptions.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketSendInfo.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketServer.h
-- Up-to-date: /usr/local/include/ixwebsocket/IXWebSocketTransport.h
-- Up-to-date: /usr/local/include/ixwebsocket/LUrlParser.h
-- Up-to-date: /usr/local/include/ixwebsocket/libwshandshake.hpp
-- Up-to-date: /usr/local/include/ixwebsocket/IXSocketMbedTLS.h
-- Installing: /usr/local/bin/ws
Type Ctrl-D to exit prompt...
Connecting to url: ws://127.0.0.1
> Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connect error: Operation now in progress
#retries: 1
Wait time(ms): 100
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connect error: Operation now in progress
#retries: 2
Wait time(ms): 200
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connect error: Operation now in progress
#retries: 3
Wait time(ms): 400
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connect error: Operation now in progress
#retries: 4
Wait time(ms): 800
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connect error: Operation now in progress
#retries: 5
Wait time(ms): 1600
HTTP Status: 0

Connection error: Unable to connect to 127.0.0.1 on port 80, error: Connect error: Operation now in progress
#retries: 6
Wait time(ms): 3200
HTTP Status: 0

^C
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ 
(venv) IXWebSocket$ git bisect bad                   
705625af0a1d7f612bf7930c0620f61b8218a1f9 is the first bad commit
commit 705625af0a1d7f612bf7930c0620f61b8218a1f9
Author: Benjamin Sergeant <bsergeant@mz.com>
Date:   Tue Jun 25 15:41:39 2019 -0700

    refactor select code + add protection against large fds (cf Android 9)

:100644 100644 09594fdab5040c1d8162e799a58c2181badef4d2 cd9191bc959300f0b03ba31a825b68524fb69f78 M	README.md
:040000 040000 6ba18c9030c09880f53b9078007cc85867d74422 5ed021cf08f752865472e79fb86e0fc3c1eef132 M	ixwebsocket
:040000 040000 0b3248e42c60f7b496f807b8d6764d585af3ea68 94d1835417003b943be533af0aeafc50d76d4d2b M	test
(venv) IXWebSocket$ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant