You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use Rust SDK locked at 0.4.0 in conjunction with a viewer installed via cargo install rerun creates a situation where the versions are mismatched.
The client, even with debug logging just tells us it's failing to send the message
[2023-04-28T19:30:14Z DEBUG re_sdk_comms::buffered_client] Connecting to remote 127.0.0.1:9876…
[2023-04-28T19:30:14Z DEBUG re_sdk::session] Beginning new recording with application_id "live-logging" and recording id ad8e43a2-890c-432f-9c30-292815e9e3e3
[2023-04-28T19:30:14Z DEBUG re_sdk_comms::tcp_client] Connecting to [127.0.0.1:9876]…
LogPointReq { x: 0.48031349973549964, y: 0.4630399196363013, z: 0.027025069685679526 }
LogPointReq { x: 0.4215127546877008, y: 0.13105031788011734, z: 0.9674327490678974 }
[2023-04-28T19:30:36Z WARN re_sdk_comms::buffered_client] Failed to send message: Failed to send to Rerun server at [127.0.0.1:9876]: Broken pipe (os error 32)
[2023-04-28T19:30:36Z DEBUG re_sdk_comms::tcp_client] Connecting to [127.0.0.1:9876]…
LogPointReq { x: 0.0789861976815871, y: 0.22877340514351852, z: 0.4877077198042101 }
[2023-04-28T19:30:37Z WARN re_sdk_comms::buffered_client] Failed to send message: Failed to send to Rerun server at [127.0.0.1:9876]: Broken pipe (os error 32)
Meanwhile the viewer prints a single error about "bincode" for each attempt.
[2023-04-28T19:30:34Z WARN re_sdk_comms::server] Closing connection to client: bincode
[2023-04-28T19:30:36Z INFO re_sdk_comms::server] New SDK client connected: 127.0.0.1:55840
[2023-04-28T19:30:36Z WARN re_sdk_comms::server] Closing connection to client: bincode
[2023-04-28T19:30:37Z INFO re_sdk_comms::server] New SDK client connected: 127.0.0.1:55856
Nothing about incompatible versions, etc.
The text was updated successfully, but these errors were encountered:
The problem is that the SDK comms is not using crates/re_log_encoding/src/encoder.rs, but an ad-hoc encoder in crates/re_sdk_comms/src/lib.rs. We should just unify that.
This comes with two benefits:
* We get nice error messages on version mismatch
* We get compression of the TCP stream
There is also a downside: we need to pay for the slow zstd encoding
and decoding.
Closes#2003
…2065)
* Use the same RRD encoding for the SDK comms as for everything else
This comes with two benefits:
* We get nice error messages on version mismatch
* We get compression of the TCP stream
There is also a downside: we need to pay for the slow zstd encoding
and decoding.
Closes#2003
* Use let-else to reduce rightward drift
…2065)
* Use the same RRD encoding for the SDK comms as for everything else
This comes with two benefits:
* We get nice error messages on version mismatch
* We get compression of the TCP stream
There is also a downside: we need to pay for the slow zstd encoding
and decoding.
Closes#2003
* Use let-else to reduce rightward drift
Trying to use Rust SDK locked at 0.4.0 in conjunction with a viewer installed via
cargo install rerun
creates a situation where the versions are mismatched.The client, even with debug logging just tells us it's failing to send the message
Meanwhile the viewer prints a single error about "bincode" for each attempt.
Nothing about incompatible versions, etc.
The text was updated successfully, but these errors were encountered: