Cannot connect to compute 'GNS3 VM (gns3vm)' with request POST /projects



Cannot connect to compute 'GNS3 VM (gns3vm)' with request POST /projects

Cannot connect to compute 'GNS3 VM (gns3vm)' with request POST /projects

Cannot connect to compute ‘GNS3 VM (gns3vm)’ with request POST /projects

“Cannot connect to compute ‘GNS3 VM (GNS3 VM)’ with request POST /projects” after relaunching GNS3

When I launch GNS3, I get an error stating “Cannot use a node on the GNS3 VM server with the GNS3 VM not configured” when loading a project. The GNS3 VM eventually boots, and I can open a project again, but if I close GNS3, then reopen it, doing this process gives me an error stating “Cannot connect to compute ‘GNS3 VM (GNS3 VM)’ with request POST /projects” even after the VM boots. I’ve been able to fix this by running VMware Player repair, but have to do so every time I relaunch GNS3.

I’m running VMware Player version 12.5.9 since newer versions gave similar errors with no workaround, and VIX version 1.15.0

Describe the bug
GNS3 starts fine but the GNS VM indicator does not turn green.

GNS3 version and operating system (please complete the following information):
Windows 10 Pro Version 1909 (OS Build 18363.778)
Running GNS3 version 2.2.7 on Windows (64-bit) with Python 3.6.8 Qt 5.12.1 and PyQt 5.12.
Copyright (c) 2006-2020 GNS3 Technologies.

Any use of the GNS3 VM or remote server (ESXi, bare metal etc.)
VMware® Workstation 15 Pro 15.5.2 build-15785246
To Reproduce
Steps to reproduce the behavior:
Start GNS3. Wait for GNS3 VM to be fully started. Click on GNS3 menu to open an existing project.

Screenshots or videos
If applicable, add screenshots (e.g. of the topology and/or error message) or links to videos to help explain the problem. This will help us a lot to quickly find the bug and fix it.

Additional context
So far, the only fix is to close GNS3, thus closing VMware Workstation, doing a repair for VMWare Workstation (reset all VMware virtual nics to their default values) and running vmnet-manager.cmd.
GNS3 then works fine until I close it, restart my workstation and try to run it again.

BTW. a similar if not the same issue has been report on gns3.com under community/questions.
“Cannot connect to compute ‘GNS3 VM (GNS3 VM)’ with request POST /projects”

the reason is that when you reboot your computer the WMware Network Adapter VMnet1 in your physical host will change to other subnet, don’t know why, in windows cmd, enter “route print” will cannot find the route to the GNS3 VM subnet.
the solution is right-click the network in the lower righ corner of physical host to open network adapter, change the ip and mask of WMware Network Adapter VMnet1 to the subnet of GNS3 VM(the ip should in the same subnet with GNS3 VM,but don’t the same IP with GNS3 VM, the default gateway should not set, otherwise your physical host will add default route pointed the WMware Network Adapter VMnet1 IP and maybe affect your internet connection), then reboot your computer, then it can ping the GNS3 VM IP from physical host, you also can enter “route print” to verify the route table of your physical windows10 host.

the steps i followed :
1 – GN3 Software was working
2 – workstation was working fine
3 – ON GNS3 software
a – had server with 127.0.0.01 and port 3080
b – GNS3 software – had gns3 vm setup preference to port 3080 with workstation selected
4 – on Workstation –
a – GNS3 VM – had config setup to port : 3080 ( No other changes)
b – GNS3 VM – no ip dhcp setup. left to default – commented
c – Reset the network (this solved the problem – tried for 2days)
d – the network adapter used for the VM was host only.
5 – Did disable firewall for private network.
after you reset vmware workstation network – restart both GNS3 software and workstation
all gud.
basically VMware workstation network adapter resets, uninstall, reinstall and works fine.
Hope this helps

@abighani
#abughaniproduction
#share
#gns3