ROS2Router Not working

We are doing the following steps:

  1. connecting to husarnet group (local machine: ubuntu 24.04, ros2 jazzy)

  2. Running ros2router container using the following command in vm
    docker run
    –detach
    –restart=unless-stopped
    –network host
    -e DISCOVERY_SERVER_PORT=“11888”
    husarnet/ros2router:1.2.0

  3. in local machine running
    docker run
    –detach
    –restart=unless-stopped
    –network host
    -e ROS_DISCOVERY_SERVER=“team_id_team_name:11888”
    husarnet/ros2router:1.2.0

We are exporting ROS_LOCALHOST_ONLY=1 on both vm and local machine. still no communication is established.

Can anyone help here?

Moreover, now
ros2 topic list isnt printing any topics in vm.

I also had similar problems with ros2router. In this post there is a discussion about it and it seems that ros2router can’t be used with the new husarnet beta

We’ve updated the ros2router image to support the nightly build of Husarnet too. Please try again.

Could you please specify which image version we should use?