From 7ba351c88823d9c531428620d9a0813b4d8b5e82 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Wed, 3 May 2017 17:44:55 +0200 Subject: [PATCH] Catch timeout error when loading virtualbox VM Fix #999 --- gns3server/controller/gns3vm/virtualbox_gns3_vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/controller/gns3vm/virtualbox_gns3_vm.py b/gns3server/controller/gns3vm/virtualbox_gns3_vm.py index 07dcb72d..2eb25970 100644 --- a/gns3server/controller/gns3vm/virtualbox_gns3_vm.py +++ b/gns3server/controller/gns3vm/virtualbox_gns3_vm.py @@ -228,7 +228,7 @@ class VirtualBoxGNS3VM(BaseGNS3VM): try: resp = None resp = yield from session.get('http://127.0.0.1:{}/v2/compute/network/interfaces'.format(api_port)) - except (OSError, aiohttp.errors.ClientHttpProcessingError, TimeoutError): + except (OSError, aiohttp.errors.ClientHttpProcessingError, TimeoutError, asyncio.TimeoutError): pass if resp: