Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Hunter L. Allen
    @allenh1
    Hey, so we're hitting a snag with CSharp. Whenever a subscriber is created, the zenoh bridge crashes. https://gist.github.com/allenh1/4abb0e0e9d05ae57ab58acf051a35590
    Hunter L. Allen
    @allenh1
    @JEnoch any idea what the 'Key not present" exception means?
    Julien Enoch
    @JEnoch
    Hi @allenh1 ,
    it might be caused by changes made in the protocol recently.
    What are the zenoh versions for both your router and your zenoh-csharp ? You cat get each with:
    • router: zenohd —version
    • zenoh-csharp: set RUST_LOG=debug, run a zenoh-csharp binary. You should get the Zenoh Rust API version in the very first log.
    Hunter L. Allen
    @allenh1
    @JEnoch I'm not using a router, but I have a commit for the zenoh-bridge: zenoh bridge for DDS v0.5.0-beta.8-45-g8a0b07f built with rustc 1.54.0 (a178d0322 2021-07-26)
    zenoh-csharp is 0.0.4
    Julien Enoch
    @JEnoch
    OK, sorry for the confusion.
    For zenoh-csharp, it relies on zenoh-c that you should have installed. I need its version and it can only be retrieved via the logs.
    Hunter L. Allen
    @allenh1
    Zenoh rust api printed is 0.5.0-beta.8
    @JEnoch is it the first line of the printed logs you needed? Or is the zenoh-c version printed elsewhere?
    Julien Enoch
    @JEnoch
    The 1st line of logs
    Hunter L. Allen
    @allenh1
    ok, then yeah, 0.5.0-beta.8
    Julien Enoch
    @JEnoch
    So it’s a too old version to be compatible with the bridge version you use.
    You need to re-build zenoh-c and to re-install it to make sure zenoh-csharp uses it.
    Hunter L. Allen
    @allenh1
    So we don't usually build zenoh-c (to my knowledge) on the robots -- if I just follow the build instructions for the bridge, do you think they'll match up correctly?
    We'll try using master on the CSharp side to talk to the bridge
    Julien Enoch
    @JEnoch
    The problem comes from zenoh-csharp, not the bridge.
    Yes, you can try to re-build zenoh-csharp from master, but you’ll need also the master version from zenoh-c.
    Hunter L. Allen
    @allenh1
    Ah, great! Thanks @JEnoch! 9dbed41be728565e1adb83cb994bdcc4548b53d3 is the commit we used
    master wasn't building on windows :eyes:
    But things build + work with that commit
    Julien Enoch
    @JEnoch
    Glad it works now! :smile:
    Hunter L. Allen
    @allenh1
    Me too! Thank you very much for the fast response.
    Andreas Lööw
    @icucode
    Hi, is there a websocket/webassembly implementation available or in the pipeline?
    7 replies
    Akila Ganlath
    @akila-ganlath-tm

    @kydos and @JEnoch this blog post was a great way to start the morning :)

    https://zenoh.io/blog/2021-10-04-zenoh-pico-guide/

    kydos
    @kydos
    Glad you enjoed!
    Carlos Guimarães
    @cguimaraes
    @akila-ganlath-tm let us know if the setup process was straightforward or if you had any issue
    and just to let you know, we are currently working on abstracting the network part so that the core logic of zenoh-pico is abstracted from the underlying transport (while making the support of new protocols easier)....it should be finalized before the end of this week
    Sojan James
    @sjames
    Hi Zenoh team. First of all, kudos on the great project. I want to deploy zenoh on the Internet but want to restrict the topics to only allowed devices. The docs have examples on how the clients can validate the server (router), but not the other way around. What is the best way to deploy zenoh on the open internet? (related ticket: eclipse-zenoh/zenoh#40)
    2 replies
    expploitt
    @expploitt
    Hello! I compiled the zenoh-flow implementation last day and today I'm trying some examples trying to understand how .yaml graph and main rust code of the example works. I started with the simple-pipeline example. I have a little doubt. The sumOperator of this example is not being used actually, right? It is defined in the graph .yaml but I see that in the code is not being implemented as in other examples. The sum operation is done in the source node.
    4 replies
    ZBoIsHere
    @ZBoIsHere
    does zenoh support ros2 service communication mode?
    1 reply
    lars.toenning
    @lars.toenning:matrix.org
    [m]
    Hi, I'm running many (around 500) nodes in separate executables as publisher and subscriber with zenoh-c. They almost follow exactly the zn_sub/pub.c examples. But some nodes are crashing with the following message:
    thread 'async-std/runtime' panicked at 'called `Option::unwrap()` on a `None` value',
    /.cargo/git/checkouts/zenoh-cc237f2570fab813/000a2ba/zenoh/src/net/routing/network.rs:431:37
    5 replies
    Akash Vibhute
    @akash-roboticist

    Hi Zenoh team, it was great reading your newest blog post; I'm excited with the possibilities and efficiency that Zenoh brings!

    I tried building firmware for ESP32 using instructions here but it looks like the ESP32 is going into a panic while running this firmware; I've actually never run into an issue like this ever with the ESP32, so was a bit baffled. I tried using ESPExceptionDecoder in Arduino, but it just kept failing to decode this trace.

    Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
    Core 1 register dump:
    PC      : 0x400014fd  PS      : 0x00060a30  A0      : 0x80001459  A1      : 0x3ffdcfd0  
    A2      : 0x00000000  A3      : 0xfffffffc  A4      : 0x000000ff  A5      : 0x0000ff00  
    A6      : 0x00ff0000  A7      : 0xff000000  A8      : 0x00000000  A9      : 0x3ffdcfa0  
    A10     : 0x3ffdd238  A11     : 0x00001800  A12     : 0x3ffb643c  A13     : 0x00000000  
    A14     : 0x00000000  A15     : 0x3ffc4c68  SAR     : 0x00000020  EXCCAUSE: 0x0000001c  
    EXCVADDR: 0x00000000  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xffffffff  
    
    ELF file SHA256: 0000000000000000
    
    Backtrace: 0x400014fd:0x3ffdcfd0 0x40001456:0x3ffdcfe0 0x40001445:0x3ffdd000 0x400d59e5:0x3ffdd020 0x400d48da:0x3ffdd100 0x400d44f9:0x3ffdd140 0x400d9644:0x3ffdd180 0x40089802:0x3ffdd1a0
    
    Rebooting...

    Also, another piece of interesting observation, if I stop the zenoh docker container, the ESP32 does not crash, so there seems to be some network level conflict I guess?

    For reference, I am using PlatformIO on Ubuntu Focal (though that shouldn't matter, I think), and the board I'm using is a generic ESP32-S2 WROVER board and it seems to work fine with other programs.

    18 replies
    ryan
    @ryan:matrix.hagen.tech
    [m]
    I don't see any documentation mentioning security for the transport layer in zenoh.net. Is there any?
    G-ruchika
    @G-ruchika
    Hi Zenoh team, I am trying to send data to Azure iot using Zenoh. my usecase - device is sending the data to zenoh and then , I am planning to send the data to azure iot. is it possible to connect to azure iot using Zenoh?
    1 reply
    ryan
    @ryan:matrix.hagen.tech
    [m]
    :point_up: Edit: I don't see any documentation mentioning security for the transport layer in zenoh.net. Is there any? I see QUIC is supported, but no on by default?
    1 reply
    Elias De Coninck
    @eliasdc

    Hi, I'm struggling to setup our ROS2 Galactic robot with support for iceoryx (shared memory) + zenoh-bridge-dds. I think the current master branch does not support the latest Cyclone DDS 0.8.0 release which is included in the Galactic release of ROS2. Is there a way to fix my issue?

    I created an issue on zenoh-plugin-dds: eclipse-zenoh/zenoh-plugin-dds#50

    2 replies
    Rajarshi Haldar
    @rajarshi_haldar_twitter
    Hi All,
    I need to know how a Zenoh Router discovers other Zenoh Router in a network. can somebody provide any information or document link about it ? thanks in advance.
    2 replies
    Rajarshi Haldar
    @rajarshi_haldar_twitter
    Hi
    I'm trying to configure zenoh router on ubuntu node in aws cloud. can anybody point me to any documentation related to zenoh configuration files and also what is the default log location for zenoh router?
    1 reply
    ryan
    @ryan:matrix.hagen.tech
    [m]

    Trying to follow the doc https://zenoh.io/docs/getting-started/first-app/ the first code that produces temp measurements each second errors on me:

    File "/Users/ryanjosephhagen/PycharmProjects/zenohtest3/venv/lib/python3.9/site-packages/zenoh/workspace.py", line 50, in put
    self.rt.write_data(
    AttributeError: 'dict' object has no attribute 'write_data'

    1 reply
    ryan
    @ryan:matrix.hagen.tech
    [m]
    Also, the documentation mentions you can tune to get the payload down to 4-6 bytes , is this with a transport security(tls/quic)?
    ryan
    @ryan:matrix.hagen.tech
    [m]
    Whats the UDP multicast for? It takes port 7447, so starting the docker image with a listener at 7447udp fails.
    Luca Cominardi
    @Mallets

    Also, the documentation mentions you can tune to get the payload down to 4-6 bytes , is this with a transport security(tls/quic)?

    What you can do with zenoh is to limit overhead in zenoh (not the payload since it is provided by the user). In order to limit the overhead, some conf is required (see here: https://zenoh.io/blog/2021-07-05-zenoh-overhead/). Please note that limiting the overhead is advisble only for low throughput scenarios because of the sequence number resolution.

    ryan
    @ryan:matrix.hagen.tech
    [m]
    Yes, i was. I built a new image based off main. I deleted that message in matrix but i guess the gitter bridge doesn't support deleting messages.
    What is UDP multicast for? I can' find any documentation on this.
    kydos
    @kydos
    MicrosoftTeams-image (3).png
    So cool to see our dragon on the Indy Autonomous Challenge car!!!!
    The race will take place tomorrow and is streamed online, you can enjoy it at: https://www.indyautonomouschallenge.com/stream
    Rajarshi Haldar
    @rajarshi_haldar_twitter

    Hi Team,

    I'm trying to configure Influx DB as the backend of the Zenoh Router.
    I've used the following link to download the Influx DB plugin library and placed it in the path /usr/local/lib/

    https://download.eclipse.org/zenoh/zenoh-backend-influxdb/

    During backend activation, I'm using the following commands to test -

    Add a backend connected to InfluxDB service on http://localhost:8086

    curl -X PUT -H 'content-type:application/properties' -d "url=http://10.10.0.3:8086" -d "username=admin&password=XXXXXXXX" http://localhost:8000/@/router/local/plugin/storages/backend/influxdb

    Add a storage on /demo/example/** using the database named "zenoh_example", creating it if not already existing

    curl -X PUT -H 'content-type:application/properties' -d "path_expr=/demo/example/**;db=zenoh_example;username=admin;password=XXXXXXXX;create_db" http://localhost:8000/@/router/local/plugin/storages/backend/influxdb/storage/example

    I'm following the README.md from here: https://github.com/eclipse-zenoh/zenoh-backend-influxdb

    I could see the error in Zenoh Router debug log -


    [2021-10-25T14:08:13Z WARN zplugin_storages] Backend /@/router/8BD6F3A43834409FAADA862124260E23/plugin/storages/backend/influxdb already exists
    [2021-10-25T14:08:13Z INFO tide::log::middleware] <-- Request received
    [2021-10-25T14:08:13Z INFO tide::log::middleware] --> Response sent
    [2021-10-25T14:08:13Z DEBUG zbackend_influxdb] List databases with Influx query: ReadQuery { queries: ["SHOW DATABASES"] }

    [2021-10-25T14:08:13Z WARN zplugin_storages::backends_mgt] zenoh error: (Failed to list existing InfluxDb databases : authorization error. User not authorized) at src/lib.rs:695.

    Are the above commands correct especially when we need to use DB credentials for secured connections?

    --

    Thanks

    Rajarshi Haldar

    Julien Enoch
    @JEnoch

    Hi @rajarshi_haldar_twitter ,
    I think your backend was not correctly configured with your first curl command.
    If you use several -d options in curl, it will concatenate those using ’&’ as separator. But zenoh expects ’;’ as separator between properties.
    So you must use only 1 -d option with all the properties within, using ’;’ as separator.

    In your case the correct commands shall be:

    curl -X PUT -H 'content-type:application/properties' -d "url=http://10.10.0.3:8086;username=admin;password=XXXXXXXX" http://localhost:8000/@/router/local/plugin/storages/backend/influxdb
    
    curl -X PUT -H 'content-type:application/properties' -d "path_expr=/demo/example/**;db=zenoh_example;username=admin;password=XXXXXXXX;create_db" http://localhost:8000/@/router/local/plugin/storages/backend/influxdb/storage/example
    Julien Enoch
    @JEnoch
    It seems that at backend creation the InfluxDB backend lacks a check of the username/password. Currently, it only performs a ping command that succeeds even if the username/password are wrong.
    I created eclipse-zenoh/zenoh-backend-influxdb#5 for this.
    Italkebby
    @Italkebby
    Hi I'm back again to ask you if is there a way to compile zenoh-pico sources into shared library (*.so) ? Thank you
    10 replies
    kydos
    @kydos
    Hello everyone, we would like to add some user quotes on zenoh website. Anybody who would like to see his or her quote please either post it on gitter or feel free to get in touch with me via a private Gitter chat. Thanks!