Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connectity seems to be messed up while setting up VPN in Arm-based workstations #18

Open
vmayoral opened this issue Apr 10, 2022 · 5 comments
Assignees
Labels
bug Something isn't working low-priority

Comments

@vmayoral
Copy link
Collaborator

Describe the bug
Connectity seems to be messed up while setting up VPN in Arm-based workstations (e.g. Apple M1-based processors)

To Reproduce

docker run -it --platform linux/amd64 --rm --net=host --cap-add=NET_ADMIN fogros2
root@docker-desktop:/home/root/fog_ws# source install/setup.bash  # source fogros2 workspace as an overlay
root@docker-desktop:/home/root/fog_ws# ros2 topic list
1649578524.307783 [0]       ros2: ddsi_udp_create_conn: set IP_MULTICAST_IF failed: Bad Parameter
[ERROR] [1649578524.313711792] [rmw_cyclonedds_cpp]: rmw_create_node: failed to create domain, error Error

>>> [rcutils|error_handling.c:108] rcutils_set_error_state()
This error state is being overwritten:

  'error not set, at /tmp/binarydeb/ros-galactic-rcl-3.1.2/src/rcl/node.c:261'

with this new error message:

  'rcl node's rmw handle is invalid, at /tmp/binarydeb/ros-galactic-rcl-3.1.2/src/rcl/node.c:413'

rcutils_reset_error() should be called after error handling to avoid this.
<<<
[ERROR] [1649578524.316559333] [rcl]: Failed to fini publisher for node: 1
error creating node: rcl node's rmw handle is invalid, at /tmp/binarydeb/ros-galactic-rcl-3.1.2/src/rcl/node.c:413

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

@vmayoral vmayoral added the bug Something isn't working label Apr 10, 2022
@vmayoral
Copy link
Collaborator Author

vmayoral commented Apr 10, 2022

This shouldn't be a priority since the same behavior isn't observed in x86_64 with a Linux-native OS setup.

@vmayoral vmayoral mentioned this issue Apr 10, 2022
30 tasks
@SimeonOA SimeonOA self-assigned this May 5, 2022
@JasonLKelly
Copy link

Similar issues found directly in rmw_cyclonedds: ros2/rmw_cyclonedds#273

@SimeonOA
Copy link
Collaborator

Similar Issue now being experienced on a Docker Container using osrf/ros2 Docker image with amd64 architecture running on a Mac.

@DevinLeamy
Copy link

Hi. Has this been resolved?

@KeplerC
Copy link
Collaborator

KeplerC commented Mar 16, 2023

It seems to be a problem with cyclonedds (ros2/rmw_cyclonedds#273). A potential solution is to use fastdds instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low-priority
Projects
None yet
Development

No branches or pull requests

6 participants