Skip to content

CLI no longer working after update #4971

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

Closed
johnpapav opened this issue Sep 19, 2022 · 1 comment
Closed

CLI no longer working after update #4971

johnpapav opened this issue Sep 19, 2022 · 1 comment
Assignees
Labels
bug Something isn't working sdk/cli

Comments

@johnpapav
Copy link

My actions before raising this issue

Expected Behaviour

After the latest source code update the cvat_cli can't find the locally hosted cvat server.

Current Behaviour

It used to work just fine and now always returns

cvat_sdk.core.exceptions.InvalidHostException: Failed to detect host schema automatically, please check the server url and try to specify schema explicitly

the command I've been using is:

cvat-cli --auth user:pass --server-host localhost --server-port 8080 ls

The cvat server is up and running just fine, the api can see it and I have tried using different ports and host names to no avail.

Your Environment

  • Docker version docker version (e.g. Docker 17.0.05): 20.10.18
  • Are you using Docker Swarm or Kubernetes? n/a
  • Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 22.04
@zhiltsov-max
Copy link
Contributor

Hi, thanks for reporting the problem, I was able to reproduce it. As a quick fix, please add http:// or https:// to the --server-host argument as the error message suggests.

@zhiltsov-max zhiltsov-max added the bug Something isn't working label Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sdk/cli
Projects
None yet
Development

No branches or pull requests

3 participants