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

Websockets scheme unix is invalid #17

Closed
dz0ny opened this issue Jan 16, 2014 · 1 comment
Closed

Websockets scheme unix is invalid #17

dz0ny opened this issue Jan 16, 2014 · 1 comment

Comments

@dz0ny
Copy link

dz0ny commented Jan 16, 2014

➤ sudo fig up
Attaching to wp_mysql_1, wp_web_1
Traceback (most recent call last):
  File "/usr/local/bin/fig", line 9, in <module>
    load_entry_point('fig==0.0.2', 'console_scripts', 'fig')()
  File "/usr/local/lib/python2.7/dist-packages/fig/cli/main.py", line 39, in main
    command.sys_dispatch()
  File "/usr/local/lib/python2.7/dist-packages/fig/cli/docopt_command.py", line 21, in sys_dispatch
    self.dispatch(sys.argv[1:], None)
  File "/usr/local/lib/python2.7/dist-packages/fig/cli/docopt_command.py", line 24, in dispatch
    self.perform_command(*self.parse(argv, global_options))
  File "/usr/local/lib/python2.7/dist-packages/fig/cli/docopt_command.py", line 27, in perform_command
    handler(command_options)
  File "/usr/local/lib/python2.7/dist-packages/fig/cli/main.py", line 228, in up
    log_printer = LogPrinter(containers)
  File "/usr/local/lib/python2.7/dist-packages/fig/cli/log_printer.py", line 15, in __init__
    self.generators = self._make_log_generators()
  File "/usr/local/lib/python2.7/dist-packages/fig/cli/log_printer.py", line 28, in _make_log_generators
    generators.append(self._make_log_generator(container, color_fn))
  File "/usr/local/lib/python2.7/dist-packages/fig/cli/log_printer.py", line 34, in _make_log_generator
    websocket = self._attach(container)
  File "/usr/local/lib/python2.7/dist-packages/fig/cli/log_printer.py", line 47, in _attach
    return container.attach_socket(params=params, ws=True)
  File "/usr/local/lib/python2.7/dist-packages/fig/container.py", line 133, in attach_socket
    return self.client.attach_socket(self.id, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 251, in attach_socket
    return self._attach_websocket(container, params)
  File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 217, in _attach_websocket
    return self._create_websocket_connection(full_url)
  File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 220, in _create_websocket_connection
    return websocket.create_connection(url)
  File "/usr/local/lib/python2.7/dist-packages/websocket.py", line 178, in create_connection
    websock.connect(url, **options)
  File "/usr/local/lib/python2.7/dist-packages/websocket.py", line 419, in connect
    hostname, port, resource, is_secure = _parse_url(url)
  File "/usr/local/lib/python2.7/dist-packages/websocket.py", line 141, in _parse_url
    raise ValueError("scheme %s is invalid" % scheme)
ValueError: scheme unix is invalid

@aanand
Copy link

aanand commented Jan 16, 2014

Yep, see #7. We're working on a fix in #10, and it'll land very soon!

@aanand aanand closed this as completed Jan 16, 2014
dnephin added a commit to dnephin/compose that referenced this issue Jun 18, 2015
More retries and configuration from env
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

2 participants