From 42eaf97e9fc43c8c55d08559665bf33a728c2724 Mon Sep 17 00:00:00 2001 From: grossmj Date: Mon, 6 Apr 2020 13:52:04 +0930 Subject: [PATCH] Fix uBrigde error popups when Docker image has stopped. Fixes https://github.com/GNS3/gns3-gui/issues/2957 --- gns3server/ubridge/hypervisor.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gns3server/ubridge/hypervisor.py b/gns3server/ubridge/hypervisor.py index 7de8d1d7..ba98ef33 100644 --- a/gns3server/ubridge/hypervisor.py +++ b/gns3server/ubridge/hypervisor.py @@ -177,7 +177,9 @@ class Hypervisor(UBridgeHypervisor): env=env) log.info("ubridge started PID={}".format(self._process.pid)) - monitor_process(self._process, self._termination_callback) + # recv: Bad address is received by uBridge when a docker image stops by itself + # see https://github.com/GNS3/gns3-gui/issues/2957 + #monitor_process(self._process, self._termination_callback) except (OSError, subprocess.SubprocessError) as e: ubridge_stdout = self.read_stdout() log.error("Could not start ubridge: {}\n{}".format(e, ubridge_stdout))