Closed alkorsan closed 6 years ago
I also noticed that I split wss://
address type away from universal client address type, but forgot to add it to the registry of address type options.
Should already be fixed now.
I build from source, I still have the same errors!
Haven't you forgot about --features=ssl
?
The script for creating a release build is running now, so you may just wait.
no , I used it:
cargo build --release --features=ssl
Maybe you are running the wrong websocat, not the one you've just built?
Try cargo run --release --features=ssl -- -v wss://echo.websocket.org
. What does it print?
Expected:
Running `target/release/websocat -v 'wss://echo.websocket.org'`
INFO 2018-07-04T00:21:03Z: websocat::lints: Auto-inserting the line mode
INFO 2018-07-04T00:21:03Z: websocat::sessionserve: Serving Line2Message(Stdio) to Message2Line(WsClient("wss://echo.websocket.org/")) with Options { websocket_text_mode: true, websocket_protocol: None, udp_oneshot_mode: false, unidirectional: false, unidirectional_reverse: false, exit_on_eof: false, oneshot: false, unlink_unix_socket: false, exec_args: [], ws_c_uri: "ws://0.0.0.0/", linemode_strip_newlines: false, linemode_strict: false, origin: None, custom_headers: [], websocket_version: None, websocket_dont_close: false, one_message: false, no_auto_linemode: false, buffer_size: 65536, broadcast_queue_len: 16, read_debt_handling: Warn, linemode_zero_terminated: false }
INFO 2018-07-04T00:21:03Z: websocat::stdio_peer: get_stdio_peer (async)
INFO 2018-07-04T00:21:03Z: websocat::stdio_peer: Setting stdin to nonblocking mode
INFO 2018-07-04T00:21:03Z: websocat::stdio_peer: Installing signal handler
INFO 2018-07-04T00:21:03Z: websocat::ws_client_peer: get_ws_client_peer
INFO 2018-07-04T00:21:04Z: websocat::ws_client_peer: Connected to ws
qwe
qwe
Also try the attached executable.
wss shows this message now
it was good with the old version thank you