Duckietown: learning autonomy
Facebook Twitter Linkedin Instagram Vimeo
  • About
    • Duckietown Foundation
    • The Platform
      • About the duckies
  • Resources
    • Getting Started
    • List of communities
    • Available Educational Resources
    • MOOC
  • AI Driving Olympics
  • Donate
  • Get hardware
  • Login
    • Register
  • About
    • Duckietown Foundation
    • The Platform
      • About the duckies
  • Resources
    • Getting Started
    • List of communities
    • Available Educational Resources
    • MOOC
  • AI Driving Olympics
  • Donate
  • Get hardware
  • Login
    • Register

dts challenges info command throwing error

Front page › Forums › General › Accounts (git etc.) › dts challenges info command throwing error

Tagged: account setup, dts, dts challenges

This topic contains 1 reply, has 2 voices, and was last updated by  joostsp 2 weeks, 5 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 23, 2021 at 6:28 am #70899

    aloksaan
    Participant

    Debug info
    commands-version: daffy
    dt-authentication-daffy: 0.1.5
    dt-data-api-daffy: 0.1.10
    duckietown-docker-utils-daffy: 6.0.77
    duckietown-shell: 5.2.3
    duckietown-shell-commands: 5.1.10
    encodings:
    locale: UTF-8
    stderr: UTF-8
    stdout: UTF-8
    python: “3.7.7 (default, May 6 2020, 04:59:01) \n[Clang 4.0.1 (tags/RELEASE_401/final)]”

    Error
    “dts : Traceback (most recent call last):
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 445, in _make_request
    : six.raise_from(e, None)
    : File “<string>”, line 3, in raise_from
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 440, in _make_request
    : httplib_response = conn.getresponse()
    : File “/anaconda3/envs/hanu/lib/python3.7/http/client.py”, line 1344, in getresponse
    : response.begin()
    : File “/anaconda3/envs/hanu/lib/python3.7/http/client.py”, line 306, in begin
    : version, status, reason = self._read_status()
    : File “/anaconda3/envs/hanu/lib/python3.7/http/client.py”, line 267, in _read_status
    : line = str(self.fp.readline(_MAXLINE + 1), “iso-8859-1”)
    : File “/anaconda3/envs/hanu/lib/python3.7/socket.py”, line 589, in readinto
    : return self._sock.recv_into(b)
    : socket.timeout: timed out
    :
    : During handling of the above exception, another exception occurred:
    :
    : Traceback (most recent call last):
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/requests/adapters.py”, line 449, in send
    : timeout=timeout
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 756, in urlopen
    : method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/urllib3/util/retry.py”, line 532, in increment
    : raise six.reraise(type(error), error, _stacktrace)
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/urllib3/packages/six.py”, line 735, in reraise
    : raise value
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 706, in urlopen
    : chunked=chunked,
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 447, in _make_request
    : self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 337, in _raise_timeout
    : self, url, “Read timed out. (read timeout=%s)” % timeout_value
    : urllib3.exceptions.ReadTimeoutError: UnixHTTPConnectionPool(host=’localhost’, port=None): Read timed out. (read timeout=60)
    :
    : During handling of the above exception, another exception occurred:
    :
    : Traceback (most recent call last):
    : File “/anaconda3/envs/hanu/lib/python3.7/site-packages/dt_shell/main.py”, line 38, in cli_main
    : cli_main_()
    : File “/anaconda3/envs/hanu/lib/python3.7/site-packages/dt_shell/main.py”, line 194, in cli_main_
    : shell.onecmd(cmdline)
    : File “/anaconda3/envs/hanu/lib/python3.7/cmd.py”, line 217, in onecmd
    : return func(arg)
    : File “/anaconda3/envs/hanu/lib/python3.7/site-packages/dt_shell/cli.py”, line 278, in <lambda>
    : do_command_lam = lambda s, w: do_command(klass, s, w)
    : File “/anaconda3/envs/hanu/lib/python3.7/site-packages/dt_shell/dt_command_abs.py”, line 48, in do_command
    : cls.command(shell, args)
    : File “/Users/alokumar0/.dt-shell/commands-multi/daffy/challenges/command.py”, line 83, in command
    : docker_credentials=docker_credentials,
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/duckietown_docker_utils/docker_run.py”, line 274, in generic_docker_run
    : container = client.containers.run(image, **params)
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/docker/models/containers.py”, line 818, in run
    : container.start()
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/docker/models/containers.py”, line 404, in start
    : return self.client.api.start(self.id, **kwargs)
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/docker/utils/decorators.py”, line 19, in wrapped
    : return f(self, resource_id, *args, **kwargs)
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/docker/api/container.py”, line 1110, in start
    : res = self._post(url)
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/docker/utils/decorators.py”, line 46, in inner
    : return f(self, *args, **kwargs)
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/docker/api/client.py”, line 233, in _post
    : return self.post(url, **self._set_request_timeout(kwargs))
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/requests/sessions.py”, line 590, in post
    : return self.request(‘POST’, url, data=data, json=json, **kwargs)
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/requests/sessions.py”, line 542, in request
    : resp = self.send(prep, **send_kwargs)
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/requests/sessions.py”, line 655, in send
    : r = adapter.send(request, **kwargs)
    : File “/Users/alokumar0/.local/lib/python3.7/site-packages/requests/adapters.py”, line 529, in send
    : raise ReadTimeout(e, request=request)
    : requests.exceptions.ReadTimeout: UnixHTTPConnectionPool(host=’localhost’, port=None): Read timed out. (read timeout=60)”

    March 28, 2021 at 5:55 pm #73449

    joostsp
    Participant

    Hi,

    I’m experiencing an error at exactly the same point (dts challenges info).
    Have you already found a solution?

    Joost

    My log (on Ubuntu 20.04 LTS):

    dts :  Problems with a command?
        :  
        :      Report here: https://github.com/duckietown/duckietown-shell-commands/issues
        :  
        :      Troubleshooting:
        :  
        :      - If some commands update fail, delete ~/.dt-shell/commands
        :  
        :      - To reset the shell to "factory settings", delete ~/.dt-shell
        :  
        :        (Note: you will have to re-configure.)
    INFO:dts:Commands version: daffy
    INFO:dts:looking at /home/joost/.dt-shell/commands-multi/daffy
    
    dts :  An updated version of the commands is available.
        :  
        :  Attempting auto-update.
    
    dts :  Updating commands...
    
    dts :  OK
    DEBUG:duckietown_docker_utils:duckietown_docker_utils version 6.0.78 path /home/joost/.local/lib/python3.8/site-packages
    DEBUG:duckietown_docker_utils:repo_root='/home/joost/projects/challenge-aido_LF-template-random' pwd='/home/joost/projects/challenge-aido_LF-template-random' pwd1='/home/joost/projects/challenge-aido_LF-template-random'
    DEBUG:duckietown_docker_utils:/home/joost/.gitconfig -> /tmp/tmp4e8h_1od/fake-home/.gitconfig
    DEBUG:duckietown_docker_utils:/home/joost/.dt-shell -> /tmp/tmp4e8h_1od/fake-home/.dt-shell
    DEBUG:commons:version: 6.1.7 *
    INFO:typing:version: 6.1.8
    DEBUG:duckietown_challenges_cli:duckietown_challenges_cli version 6.0.86 path /usr/local/lib/python3.8/dist-packages
    DEBUG:duckietown_challenges:duckietown_challenges version 6.2.19 path /usr/local/lib/python3.8/dist-packages
    DEBUG:ipce:version 6.0.36 path /usr/local/lib/python3.8/dist-packages
    DEBUG:duckietown_docker_utils:duckietown_docker_utils version 6.0.78 path /usr/local/lib/python3.8/dist-packages
    DEBUG:duckietown_build_utils:duckietown_build_utils version 6.1.29 path /usr/local/lib/python3.8/dist-packages
    DEBUG:duckietown_challenges_runner:duckietown_challenges_runner version 6.2.19 path /usr/local/lib/python3.8/dist-packages
    17:53:00|d|duckietown_challenges_cli|cli.py:187|dt_challenges_cli_main_():
     credentials_available: [docker.io]
    17:53:00|d|duckietown_challenges_cli|cli.py:81|dt_challenges_cli_main():
    Traceback (most recent call last):
      File "/usr/local/lib/python3.8/dist-packages/duckietown_challenges_cli/cli.py", line 77, in dt_challenges_cli_main
        dt_challenges_cli_main_(args=args, sections=sections, main_cmd="challenges")
      File "/usr/local/lib/python3.8/dist-packages/duckietown_challenges_cli/cli.py", line 204, in dt_challenges_cli_main_
        f(rest, environment)
      File "/usr/local/lib/python3.8/dist-packages/duckietown_challenges_cli/cli_info.py", line 62, in dt_challenges_cli_info
        sprint(s)
      File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
        self.gen.throw(type, value, traceback)
      File "/usr/local/lib/python3.8/dist-packages/duckietown_challenges_cli/cli_common.py", line 37, in wrap_server_operations
        raise InvalidConfiguration(msg) from None
    duckietown_challenges.exceptions.InvalidConfiguration: Not authorized to perform operation.
    
    This is an invalid token; signature check failed: Signature is invalid
    │  endpoint: /api/user-info
    │    method: GET
    │       url: https://challenges.duckietown.org/v4/api/user-info
    │   timeout: 30
    │   headers: dict[13]
    │            │ Date: Sun, 28 Mar 2021 17:53:00 GMT
    │            │ Content-Type: application/json
    │            │ Content-Length: 121
    │            │ Connection: close
    │            │ Set-Cookie: __cfduid=d07a23f0f68318b10994991bfab5af5e21616953980; expires=Tue, 27-Apr-21 17:53:00 GMT; path=/; domain=.duckietown.org; HttpOnly; SameSite=Lax
    │            │ X-Content-Type-Options: nosniff
    │            │ CF-Cache-Status: DYNAMIC
    │            │ cf-request-id: 091b90cd3f000040c0d7b07000000001
    │            │ Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
    │            │ Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report?s=5UwpqbpEwLC4J0u8Q1%2Byc8MK53llN7VF3kPwvaJ3tddrOsTF4UbDwhA%2FAvH5q7RHuW1PQeQASmK0koeASd56Km5Yp9nh5io4IBaQzh8Y6UYWZH8%2FUES%2BF7l9"}],"group":"cf-nel","max_age":604800}
    │            │ NEL: {"max_age":604800,"report_to":"cf-nel"}
    │            │ Server: cloudflare
    │            │ CF-RAY: 6372b7286b9740c0-LHR
    │ http_code: 401
    
    dts :  Execution of docker image failed. Return code: 32.
        :  
        :  The log is available at /tmp/joost/duckietown/dt-shell-commands/challenges/challenges_2021_03_28_19_52_58_761910_10.txt
    
    dts :  To report a bug, please also include the contents of /home/joost/shell-debug-info.txt
    
  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Facebook Twitter Vimeo Github Instagram
  • Duckumentation
  • Terms and Conditions
  • Software License
  • Privacy Policy
  • Duckumentation
  • Terms and Conditions
  • Software License
  • Privacy Policy
Copyright © 2021 Duckietown | info@duckietown.com
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok