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

Unable to Connect Over USB #1964

Closed
umbhau opened this issue Jul 31, 2018 · 1 comment · Fixed by #2090
Closed

Unable to Connect Over USB #1964

umbhau opened this issue Jul 31, 2018 · 1 comment · Fixed by #2090
Assignees
Labels
api Affects the `api` project bug
Milestone

Comments

@umbhau
Copy link

umbhau commented Jul 31, 2018

Expected Behavior:

  • User able to connect to robot via Run App over USB

Observed Behavior

  • User unable to see or connect to a robot via Run App over USB

Steps to Recreate

Note we have not been able to recreate this internally

  1. Plug in robot over USB
  2. Open run app
  3. Observe that your robot does not appear in the Robots List sidebar

Resources

@btmorr
Copy link
Contributor

btmorr commented Aug 2, 2018

We have primarily observed this on Windows 10 computers. It appears that there are some differences between the way that Windows supports IPv6 vs other OSes, and we have been using an IPv6 address in link-local mode that is not in the specified subnet for IPv6 link-local connections (we are using fd00:0:cafe:fefe::/64, correct link-local addresses are in fe80::/64). This may or may not be the only thing causing the problem, but in general IPv6 addressing is less well supported and understood generally, so we are going to switch to using IPv4 link-local addressing for ethernet connections.

Also, the previous configuration was done with ip addr, which does not have access to the host OS (ResinOS), which may have caused inconsistencies/race-conditions in how the ethernet port is initialized, so we are going to switch to using nmcli to configure the ethernet port, as nmcli does have access to the host OS and is able to ensure that connection management is handled in one place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Affects the `api` project bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants