You are not logged in.

#1 2020-07-19 14:57:33

kaosmagick
Member
Registered: 2020-01-29
Posts: 13

GNS3 can't connect to localhost:3080

Hello Everyone,

I recently fresh-installed Arch using the Official Guide.

I want to run GNS3 Network Simulator on the computer but it says it can't connect to localhost on port 3080


I tried installed Apache server and enabling httpd.service
but then I get this :

Local server process has stopped
Traceback (most recent call last):
  File "/usr/bin/gns3server", line 33, in <module>
    sys.exit(load_entry_point('gns3-server==2.2.8', 'console_scripts', 'gns3server')())
  File "/usr/bin/gns3server", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.8/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/gns3server/main.py", line 29, in <module>
    import gns3server.utils.get_resource
  File "/usr/lib/python3.8/site-packages/gns3server/utils/get_resource.py", line 19, in <module>
    import pkg_resources
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3257, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3240, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3269, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 582, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 899, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 785, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'aiohttp-cors==0.7.0' distribution was not found and is required by gns3-server

WaitForConnectionWorker thread stopping with an error: Could not connect to localhost on port 3080: [Errno 111] Connection refused
Could not connect to localhost on port 3080: [Errno 111] Connection refused

P.S :  I used this guide to install GNS3 and the other required dependencies
https://sirtoffski.github.io/Arch-GNS3-Helper/

Last edited by kaosmagick (2020-07-19 14:58:52)

Offline

#2 2020-07-19 16:52:39

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 640

Re: GNS3 can't connect to localhost:3080

Please use 'code' tags, not 'quote' tags.

You are missing a dependency:

pkg_resources.DistributionNotFound: The 'aiohttp-cors==0.7.0' distribution was not found and is required by gns3-server

Offline

#3 2020-07-19 16:56:38

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 9,875
Website

Re: GNS3 can't connect to localhost:3080

Rather than following that dubious guide which tells you to install an AUR helper using a poorly maintained and regularly broken unofficial repo, try the Arch wiki: https://wiki.archlinux.org/index.php/GNS3

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2020-07-20 11:49:27

kaosmagick
Member
Registered: 2020-01-29
Posts: 13

Re: GNS3 can't connect to localhost:3080

Hi
I finally got success installing GNS3 and VMWare Workstation Pro on my laptop
However, When I try to integrate them and run, I get :

Version mismatch with vmmon module: expecting 392.0, got 385.0.You have an incorrect version of the 'vmmon' kernel module.Try reinstalling VMware Workstation.

How do I get vmmon 392 ? 

The AUR package that provides this module can't be downloaded on my computer because it lacks signature
I installed v 385 using a tarball that i found somewhere, but I think it's for VMWare Workstation 14 .

Thanks

EDIT  :

I used vmware_patch from AUR but still no luck
SAME ERROR

Last edited by kaosmagick (2020-07-20 12:13:49)

Offline

#5 2020-07-24 16:36:47

kaosmagick
Member
Registered: 2020-01-29
Posts: 13

Re: GNS3 can't connect to localhost:3080

I fixed it with a complete fresh start following the Arch Wiki Guide

Guys, don't look elsewhere!

Offline

Board footer

Powered by FluxBB