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

Attempting to open Wireshark PCAP close project #1497

Closed
dtstanford opened this issue May 7, 2024 · 2 comments · Fixed by #1498
Closed

Attempting to open Wireshark PCAP close project #1497

dtstanford opened this issue May 7, 2024 · 2 comments · Fixed by #1498

Comments

@dtstanford
Copy link

I'm running gns3-server + gns3-web-ui on a newly installed Ubuntu 24.04 Server VM. I've installed the gns3-webclient-pack on my Macbook Pro (M1). Server packages installed are direct from GNS3 PPA, and WebClient pack is the latest release.

Problem: I am able to start a packet capture on a link without issue, however whenever I attempt to "start the capture visualization program" (when starting the packet capture) or "start wireshark" (once the packet capture has been started), all my node instances immediately stop.

I am seeing this when enabling logging:

2024-05-07 15:00:39 INFO web_log.py:211 192.168.1.155 [07/May/2024:15:00:39 +0000] "GET /v2/version HTTP/1.1" 200 229 "-" "GNS3 WebClient pack v1.0.0b6"
2024-05-07 15:00:41 INFO project_handler.py:281 Client has disconnected from notification stream for project ID '78ab4342-3b11-4065-9e18-69b7072f0697' (WebSocket method)
2024-05-07 15:00:46 INFO project_handler.py:290 Project '78ab4342-3b11-4065-9e18-69b7072f0697' is automatically closing due to no client listening
2024-05-07 15:00:46 INFO web_log.py:211 127.0.0.1 [07/May/2024:15:00:46 +0000] "POST /v2/compute/projects/78ab4342-3b11-4065-9e18-69b7072f0697/nat/nodes/f85f5743-1b74-4302-b302-a05edb9e8c1a/stop HTTP/1.1" 204 185 "-" "Python/3.12 aiohttp/3.9.5"
2024-05-07 15:00:46 INFO web_log.py:211 127.0.0.1 [07/May/2024:15:00:46 +0000] "POST /v2/compute/projects/78ab4342-3b11-4065-9e18-69b7072f0697/qemu/nodes/1e9c2278-42c1-4553-990a-952bc7f08e63/stop HTTP/1.1" 204 186 "-" "Python/3.12 aiohttp/3.9.5"
2024-05-07 15:00:46 INFO web_log.py:211 127.0.0.1 [07/May/2024:15:00:46 +0000] "POST /v2/compute/projects/78ab4342-3b11-4065-9e18-69b7072f0697/qemu/nodes/d94d6a8e-f930-41f6-9d71-be2a9d8ab0c2/stop HTTP/1.1" 204 186 "-" "Python/3.12 aiohttp/3.9.5"
2024-05-07 15:00:46 INFO base_node.py:715 Stopping uBridge hypervisor 0.0.0.0:38885
2024-05-07 15:00:46 INFO hypervisor.py:208 Stopping uBridge process PID=1538
2024-05-07 15:00:46 INFO web_log.py:211 127.0.0.1 [07/May/2024:15:00:46 +0000] "POST /v2/compute/projects/78ab4342-3b11-4065-9e18-69b7072f0697/qemu/nodes/df0db750-2666-4b26-9075-c262446b5540/stop HTTP/1.1" 204 186 "-" "Python/3.12 aiohttp/3.9.5"
2024-05-07 15:00:46 INFO web_log.py:211 127.0.0.1 [07/May/2024:15:00:46 +0000] "POST /v2/compute/projects/78ab4342-3b11-4065-9e18-69b7072f0697/qemu/nodes/f8de3aca-09c3-4055-9dcd-bef9df4f2684/stop HTTP/1.1" 204 186 "-" "Python/3.12 aiohttp/3.9.5"
2024-05-07 15:00:46 INFO base_node.py:715 Stopping uBridge hypervisor 0.0.0.0:44449
2024-05-07 15:00:46 INFO hypervisor.py:208 Stopping uBridge process PID=1565
2024-05-07 15:00:46 INFO qemu_vm.py:1187 Stopping QEMU VM "CiscoIOSvL2-3" PID=1563
2024-05-07 15:00:46 INFO qemu_vm.py:1171 QEMU process has stopped, return code: 0
2024-05-07 15:00:46 INFO web_log.py:211 127.0.0.1 [07/May/2024:15:00:46 +0000] "POST /v2/compute/projects/78ab4342-3b11-4065-9e18-69b7072f0697/qemu/nodes/30998cbe-46b6-4713-af6c-b8242a2c4ce7/stop HTTP/1.1" 204 186 "-" "Python/3.12 aiohttp/3.9.5"
2024-05-07 15:00:46 INFO qemu_vm.py:1187 Stopping QEMU VM "CiscoIOSvL2-2" PID=1536
2024-05-07 15:00:46 INFO qemu_vm.py:1171 QEMU process has stopped, return code: 0
2024-05-07 15:00:46 INFO web_log.py:211 127.0.0.1 [07/May/2024:15:00:46 +0000] "POST /v2/compute/projects/78ab4342-3b11-4065-9e18-69b7072f0697/qemu/nodes/33ec6bba-6295-4cac-ad70-d2f6be1e4b79/stop HTTP/1.1" 204 186 "-" "Python/3.12 aiohttp/3.9.5"
2024-05-07 15:00:46 INFO qemu_vm.py:1568 QEMU VM 'CiscoIOSvL2-2' [33ec6bba-6295-4cac-ad70-d2f6be1e4b79]: stopping packet capture on adapter 4
2024-05-07 15:00:46 INFO web_log.py:211 127.0.0.1 [07/May/2024:15:00:46 +0000] "POST /v2/compute/projects/78ab4342-3b11-4065-9e18-69b7072f0697/qemu/nodes/33ec6bba-6295-4cac-ad70-d2f6be1e4b79/adapters/4/ports/0/stop_capture HTTP/1.1" 204 248 "-" "Python/3.12 aiohttp/3.9.5"
2024-05-07 15:00:46 INFO base_node.py:333 Qemu: 'Debian-1' [1e9c2278-42c1-4553-990a-952bc7f08e63]: is closing
2024-05-07 15:00:46 INFO base_node.py:333 Qemu: 'CiscoIOSv-1' [d94d6a8e-f930-41f6-9d71-be2a9d8ab0c2]: is closing
2024-05-07 15:00:46 INFO base_node.py:333 Builtin: 'NAT1' [f85f5743-1b74-4302-b302-a05edb9e8c1a]: is closing
2024-05-07 15:00:46 INFO base_node.py:715 Stopping uBridge hypervisor 0.0.0.0:34759
2024-05-07 15:00:46 INFO hypervisor.py:208 Stopping uBridge process PID=1514
2024-05-07 15:00:46 INFO base_node.py:333 Qemu: 'CiscoIOSvL2-3' [30998cbe-46b6-4713-af6c-b8242a2c4ce7]: is closing
2024-05-07 15:00:46 INFO base_node.py:333 Qemu: 'CiscoIOSvL2-2' [33ec6bba-6295-4cac-ad70-d2f6be1e4b79]: is closing
2024-05-07 15:00:46 INFO base_node.py:333 Qemu: 'CiscoIOSvL2-1' [f8de3aca-09c3-4055-9dcd-bef9df4f2684]: is closing
2024-05-07 15:00:46 INFO base_node.py:333 Qemu: 'CiscoIOSv-2' [df0db750-2666-4b26-9075-c262446b5540]: is closing
2024-05-07 15:00:46 INFO cloud.py:248 Cloud "NAT1" [f85f5743-1b74-4302-b302-a05edb9e8c1a] has been closed

@dtstanford
Copy link
Author

If I browse to the gns3+pcap URL directly in Firefox, it successfully opens Wireshark without shutting down the instances.

i.e., taking this URL from my local Macbook (via ~/.config/GNS3/WebClient/launcher.log) works fine:

gns3+pcap://192.168.1.200:3080?protocol=http&project_id=78ab4342-3b11-4065-9e18-69b7072f0697&link_id=cbef0398-1369-4e96-a13e-7d8cb4ed9276&project=802.1Q&name=CiscoIOSvL2-2_Gi00_to_CiscoIOSvL2-3_Gi00

@grossmj grossmj linked a pull request May 14, 2024 that will close this issue
@grossmj
Copy link
Member

grossmj commented May 14, 2024

Thanks for your report. I have found this issue and fixed it. A new version should be released soon, in the meantime you can use Chrome instead of Firefox.

@grossmj grossmj closed this as completed May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants