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

We can't get the robot to run/connect #55

Closed
Jennak1 opened this issue Oct 19, 2021 · 5 comments
Closed

We can't get the robot to run/connect #55

Jennak1 opened this issue Oct 19, 2021 · 5 comments

Comments

@Jennak1
Copy link

Jennak1 commented Oct 19, 2021

We tried to run roslaunch and got an error, so we went to fix our file and when we tried to do rsync again it wouldn't work. And we tried to build it again but get errors and we can't even use the keyboard controls. We can't move forward with trying to test it.

Traceback (most recent call last):
: File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
: conn = connection.create_connection(
: File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 84, in create_connection
: raise err
: File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 74, in create_connection
: sock.connect(sa)
: ConnectionRefusedError: [Errno 111] Connection refused
:
: During handling of the above exception, another exception occurred:
:
: Traceback (most recent call last):
: File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 665, in urlopen
: httplib_response = self._make_request(
: File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 387, in _make_request
: conn.request(method, url, **httplib_request_kw)
: File "/usr/lib/python3.8/http/client.py", line 1252, in request
: self._send_request(method, url, body, headers, encode_chunked)
: File "/usr/lib/python3.8/http/client.py", line 1298, in _send_request
: self.endheaders(body, encode_chunked=encode_chunked)
: File "/usr/lib/python3.8/http/client.py", line 1247, in endheaders
: self._send_output(message_body, encode_chunked=encode_chunked)
: File "/usr/lib/python3.8/http/client.py", line 1007, in _send_output
: self.send(msg)
: File "/usr/lib/python3.8/http/client.py", line 947, in send
: self.connect()
: File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 187, in connect
: conn = self._new_conn()
: File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 171, in new_conn
: raise NewConnectionError(
: urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f64029eb5e0>: Failed to establish a new connection: [Errno 111] Connection refused
:
: During handling of the above exception, another exception occurred:
:
: Traceback (most recent call last):
: File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
: resp = conn.urlopen(
: File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 719, in urlopen
: retries = retries.increment(
: File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, in increment
: raise MaxRetryError(pool, url, error or ResponseError(cause))
: urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='duck44.local', port=2375): Max retries exceeded with url: /v1.35/info (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f64029eb5e0>: Failed to establish a new connection: [Errno 111] Connection refused'))
:
: During handling of the above exception, another exception occurred:
:
: Traceback (most recent call last):
: File "/home/jenna/.local/lib/python3.8/site-packages/dt_shell/main.py", line 38, in cli_main
: cli_main
()
: File "/home/jenna/.local/lib/python3.8/site-packages/dt_shell/main.py", line 195, in cli_main

: shell.onecmd(cmdline)
: File "/usr/lib/python3.8/cmd.py", line 217, in onecmd
: return func(arg)
: File "/home/jenna/.local/lib/python3.8/site-packages/dt_shell/cli.py", line 278, in
: do_command_lam = lambda s, w: do_command(klass, s, w)
: File "/home/jenna/.local/lib/python3.8/site-packages/dt_shell/dt_command_abs.py", line 41, in do_command
: cls.commands[word].do_command(cls.commands[word], shell, " ".join(parts[1:]))
: File "/home/jenna/.local/lib/python3.8/site-packages/dt_shell/dt_command_abs.py", line 48, in do_command
: cls.command(shell, args)
: File "/home/jenna/.dt-shell/commands-multi/daffy/devel/build/command.py", line 359, in command
: epoint = docker.info()
: File "/usr/lib/python3/dist-packages/docker/client.py", line 179, in info
: return self.api.info(*args, **kwargs)
: File "/usr/lib/python3/dist-packages/docker/api/daemon.py", line 95, in info
: return self._result(self._get(self._url("/info")), True)
: File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 46, in inner
: return f(self, *args, **kwargs)
: File "/usr/lib/python3/dist-packages/docker/api/client.py", line 230, in _get
: return self.get(url, **self._set_request_timeout(kwargs))
: File "/usr/lib/python3/dist-packages/requests/sessions.py", line 546, in get
: return self.request('GET', url, **kwargs)
: File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
: resp = self.send(prep, **send_kwargs)
: File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
: r = adapter.send(request, **kwargs)
: File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
: raise ConnectionError(e, request=request)
: requests.exceptions.ConnectionError: HTTPConnectionPool(host='duck44.local', port=2375): Max retries exceeded with url: /v1.35/info (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f64029eb5e0>: Failed to establish a new connection: [Errno 111] Connection refused'))

dts : To report a bug, please also include the contents of /home/jenna/shell-debug-info.txt

@18r441m
Copy link
Owner

18r441m commented Oct 19, 2021

Ok. Firstly, verify that you are connected to the duckiebot using dts fleet discover.

Also, make sure to list the command you ran which produced this error

@johnburton0517
Copy link

Running fleet discover does verify that the duckiebot is connected. The command that this error comes from is dts duckiebot keyboard_control duck44

@johnburton0517
Copy link

the dashboard is down on fleet discover

@Jennak1
Copy link
Author

Jennak1 commented Oct 19, 2021

dts devel build -H <duckiebot_name>.local and dts devel run -H <duckiebot_name>.local -s -M --cmd bash gives the error as well

@johnburton0517
Copy link

The dashboard randomly says its working now. Problem may be fixed but not sure yet

@18r441m 18r441m closed this as completed Oct 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants