Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Olehs-MacBook-Pro:backend MVP olehkopyl$ docker-compose up
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/site-packages/requests/packages/urllib3/util/timeout.py", line 122, in _validate_timeout
- float(value)
- TypeError: float() argument must be a string or a number, not 'Timeout'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/site-packages/docker/api/client.py", line 214, in _retrieve_server_version
- return self.version(api_version=False)["ApiVersion"]
- File "/usr/local/lib/python3.8/site-packages/docker/api/daemon.py", line 181, in version
- return self._result(self._get(url), json=True)
- File "/usr/local/lib/python3.8/site-packages/docker/utils/decorators.py", line 46, in inner
- return f(self, *args, **kwargs)
- File "/usr/local/lib/python3.8/site-packages/docker/api/client.py", line 237, in _get
- return self.get(url, **self._set_request_timeout(kwargs))
- File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 542, in get
- return self.request('GET', url, **kwargs)
- File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 529, in request
- resp = self.send(prep, **send_kwargs)
- File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 645, in send
- r = adapter.send(request, **kwargs)
- File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 440, in send
- resp = conn.urlopen(
- File "/usr/local/lib/python3.8/site-packages/requests/packages/urllib3/connectionpool.py", line 532, in urlopen
- timeout_obj = self._get_timeout(timeout)
- File "/usr/local/lib/python3.8/site-packages/requests/packages/urllib3/connectionpool.py", line 298, in _get_timeout
- return Timeout.from_float(timeout)
- File "/usr/local/lib/python3.8/site-packages/requests/packages/urllib3/util/timeout.py", line 152, in from_float
- return Timeout(read=timeout, connect=timeout)
- File "/usr/local/lib/python3.8/site-packages/requests/packages/urllib3/util/timeout.py", line 95, in __init__
- self._connect = self._validate_timeout(connect, 'connect')
- File "/usr/local/lib/python3.8/site-packages/requests/packages/urllib3/util/timeout.py", line 124, in _validate_timeout
- raise ValueError("Timeout value %s was %s, but it must be an "
- ValueError: Timeout value connect was Timeout(connect=60, read=60, total=None), but it must be an int or float.
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/bin/docker-compose", line 8, in <module>
- sys.exit(main())
- File "/usr/local/lib/python3.8/site-packages/compose/cli/main.py", line 81, in main
- command_func()
- File "/usr/local/lib/python3.8/site-packages/compose/cli/main.py", line 200, in perform_command
- project = project_from_options('.', options)
- File "/usr/local/lib/python3.8/site-packages/compose/cli/command.py", line 60, in project_from_options
- return get_project(
- File "/usr/local/lib/python3.8/site-packages/compose/cli/command.py", line 152, in get_project
- client = get_client(
- File "/usr/local/lib/python3.8/site-packages/compose/cli/docker_client.py", line 41, in get_client
- client = docker_client(
- File "/usr/local/lib/python3.8/site-packages/compose/cli/docker_client.py", line 170, in docker_client
- client = APIClient(use_ssh_client=not use_paramiko_ssh, **kwargs)
- File "/usr/local/lib/python3.8/site-packages/docker/api/client.py", line 197, in __init__
- self._version = self._retrieve_server_version()
- File "/usr/local/lib/python3.8/site-packages/docker/api/client.py", line 221, in _retrieve_server_version
- raise DockerException(
- docker.errors.DockerException: Error while fetching server API version: Timeout value connect was Timeout(connect=60, read=60, total=None), but it must be an int or float.
- Olehs-MacBook-Pro:backend MVP olehkopyl$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement