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
I use Zenoh plugin to access DDS data via VPN (ie the router configuration). This works well when the data types are annotated with @final (the current default) but fails when the types are annotated with @appendable.
I don't see reference to XTypes in this repository, although I'm not familiar with it (@appendable is a relatively new feature).
Is this expected behavior?
To reproduce
Create a data type in an IDL file and annotate it with either @final or @appendable
Create a publisher and a subscriber
Run the publisher on computer A, as well as a Zenoh bridge: docker run --init --rm --net=host eclipse/zenoh-bridge-dds:0.6.0-beta.1 --no-multicast-scouting -l tcp/0.0.0.0:7447
Run a VPN, and run the subscriber on computer B. Run a second Zenoh bridge: docker run --init --rm --net=host eclipse/zenoh-bridge-dds:0.6.0-beta.1 --no-multicast -scouting -m peer -e tcp/$IP:7447
If the data type is @final, this works. If it's @appendable, it doesn't.
System info
DDS implementation: CycloneDDS v0.10.2
VPN: WireGuard
Platform: CentOS Stream 8
CPU: AMD Ryzen 9 5950X
The text was updated successfully, but these errors were encountered:
The 0.6.0-beta.1 version relies on CycloneDDS 0.7.0 which wasn't supporting XTypes yet.
Thus CycloneDDS in the Zenoh plugin probably drops the DATA message with XCDR encoding flag, as it's considered as not compatible.
Note that a @final type is equivalent to a "non-extended" IDL type, and thus is sent with the CDR flag that is supported by 0.7.0.
In master branch, zenoh-plugin-dds now relies on CycloneDDS 0.10.2 which supports XTypes.
Can you please test with it using the eclipse/zenoh-bridge-dds:master image ?
I don't know if it's relevant, but this error log is new to me:
[2022-11-29T16:23:05Z WARN zenoh::session] Received ReplyData for unkown Query: 68
[2022-11-29T16:23:05Z WARN zenoh::session] Received ReplyFinal for unkown Query: 68
[2022-11-29T16:23:05Z WARN zenoh::session] Received ReplyData for unkown Query: 71
Describe the bug
I use Zenoh plugin to access DDS data via VPN (ie the router configuration). This works well when the data types are annotated with
@final
(the current default) but fails when the types are annotated with@appendable
.I don't see reference to XTypes in this repository, although I'm not familiar with it (
@appendable
is a relatively new feature).Is this expected behavior?
To reproduce
@final
or@appendable
docker run --init --rm --net=host eclipse/zenoh-bridge-dds:0.6.0-beta.1 --no-multicast-scouting -l tcp/0.0.0.0:7447
docker run --init --rm --net=host eclipse/zenoh-bridge-dds:0.6.0-beta.1 --no-multicast -scouting -m peer -e tcp/$IP:7447
If the data type is
@final
, this works. If it's@appendable
, it doesn't.System info
The text was updated successfully, but these errors were encountered: