1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-13 20:08:55 +00:00

Fix auth for websocket between controller and computes

Fix #660
This commit is contained in:
Julien Duponchelle 2016-08-31 15:19:53 +02:00
parent 45471fc865
commit 662c8788c2
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -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: