diff --git a/zunclient/common/websocketclient/websocketclient.py b/zunclient/common/websocketclient/websocketclient.py index 7a1d24f0..06fae3c5 100644 --- a/zunclient/common/websocketclient/websocketclient.py +++ b/zunclient/common/websocketclient/websocketclient.py @@ -378,7 +378,7 @@ class WINCHHandler(object): def do_attach(zunclient, url, container_id, escape, close_wait): - if url.startswith("ws://"): + if url.startswith("ws://") or url.startswith("wss://"): try: wscls = WebSocketClient(zunclient=zunclient, url=url, id=container_id, escape=escape,