From 662c8788c2e04f61afd8b838bfe68489aced8c5f Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Wed, 31 Aug 2016 15:19:53 +0200 Subject: [PATCH] Fix auth for websocket between controller and computes Fix #660 --- gns3server/controller/compute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/controller/compute.py b/gns3server/controller/compute.py index 00ad52bd..c49e8d3b 100644 --- a/gns3server/controller/compute.py +++ b/gns3server/controller/compute.py @@ -372,7 +372,7 @@ class Compute: Connect to the notification stream """ try: - self._ws = yield from self._session().ws_connect(self._getUrl("/notifications/ws")) + self._ws = yield from self._session().ws_connect(self._getUrl("/notifications/ws"), auth=self._auth) except aiohttp.errors.WSServerHandshakeError: self._ws while self._ws is not None: