Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annoying uBrigde error popups when Docker image has stopped #2957

Closed
b-ehlers opened this issue Mar 31, 2020 · 1 comment
Closed

Annoying uBrigde error popups when Docker image has stopped #2957

b-ehlers opened this issue Mar 31, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@b-ehlers
Copy link

Describe the bug
When a docker image stops by itself, uBridge v0.9.18 creates the error message "Bad address" which results in two large error popups. First of all "Bad address" doesn't give the user any hint, what's the matter. Furthermore it creates two identical popups, like all ubridge errors.

The more interesting information, that the docker image has stopped doesn't result in any message, just the link indicators get red. But I think that's fine, as other VM types behave the same.

Luckily this uBridge error message is not shown, when the docker image is stopped by GNS3.

Here the log from the gns3server, even there is no messgage that the docker VM has stopped.

2020-03-31 15:05:06 ERROR hypervisor.py:195 uBridge process has stopped, return
code: 1
uBridge version 0.9.18 running with libpcap version 1.8.1
Hypervisor TCP control server started (IP 0.0.0.0 port 40871).
UDP tunnel connecting from local port 10000 to IPv4 address 192.168.1.99 on port
 10001
Source NIO listener thread for bridge0 has started
Destination NIO listener thread for bridge0 has started
recv: Bad address
Source NIO listener thread for bridge0 has stopped because of an error: Invalid argument


2020-03-31 15:05:06 INFO docker_vm.py:531 Docker container 'alpine-1' fix ownership, state = exited
2020-03-31 15:05:12 INFO docker_vm.py:782 Docker container 'alpine-1' [alpine-be:latest] stopped

GNS3 version and operating system:

  • OS: macOS 10.13.6
  • GNS3 version 2.2.6
  • Docker image running in GNS3 VM

To Reproduce
Steps to reproduce the behavior:

  1. Start a docker image, for example alpine
  2. In its console type "exit" to stop it
  3. See error
@b-ehlers b-ehlers added the Bug label Mar 31, 2020
@grossmj grossmj added this to the 2.2.7 milestone Apr 1, 2020
@grossmj grossmj self-assigned this Apr 1, 2020
@grossmj
Copy link
Member

grossmj commented Apr 6, 2020

We monitor the uBridge processes since version 2.2.6, I will revert that.

grossmj added a commit to GNS3/gns3-server that referenced this issue Apr 6, 2020
@grossmj grossmj closed this as completed Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants