diff --git a/gns3server/compute/docker/__init__.py b/gns3server/compute/docker/__init__.py index b7ce5339..539f98bc 100644 --- a/gns3server/compute/docker/__init__.py +++ b/gns3server/compute/docker/__init__.py @@ -177,9 +177,9 @@ class Docker(BaseManager): """ url = "http://docker/v" + self._api_version + "/" + path - connection = yield from aiohttp.ws_connect(url, - origin="http://docker", - autoping=True) + connection = yield from self._session.ws_connect(url, + origin="http://docker", + autoping=True) return connection @locked_coroutine