My FreeNAS Server won't connect to the internet.

Joined
Oct 1, 2019
Messages
4
Hello,
first of all, im sorry. Someone probably alredy asked this question. Of course I tried to solve my problem without asking for help but this didnt really worked.
So im pretty new (i have my server for about four hours now) and I'm still learing. This means most of the time I don't know what im doing. But I want to learn.

So my problem is, that my Server dosn't want to acces the internet. I can use it in the network, but I can't search for updates or install plugins.
It has the router IP address and still dosn't work.

I don't know what imformation you need so please tell me what you meed and I'll add it.
 
Joined
Oct 1, 2019
Messages
4
Try adding 8.8.8.8 as a nameserver in Network -> Global Configuration.
Saddly this didn't work either. But this time i got this error:
Cmd('git') failed due to: exit code(128) cmdline: git clone -v https://github.com/freenas/iocage-ix-plugins.git /mnt/Plex/iocage/.plugin_index stderr: 'Cloning into '/mnt/Plex/iocage/.plugin_index'... fatal: unable to access 'https://github.com/freenas/iocage-ix-plugins.git/': Failed to connect to github.com port 443: Operation timed out '
Code:
Error: concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_plugin.py", line 1269, in _clone_repo
    repo = git.Repo(destination)
  File "/usr/local/lib/python3.6/site-packages/git/repo/base.py", line 124, in __init__
    raise NoSuchPathError(epath)
git.exc.NoSuchPathError: /mnt/Plex/iocage/.plugin_index

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_plugin.py", line 636, in __clone_pull_plugin_index
    self._clone_repo(self.branch, git_server, git_working_dir, callback=self.callback)
  File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_plugin.py", line 1307, in _clone_repo
    k: v for k, v in kwargs.items() if v
  File "/usr/local/lib/python3.6/site-packages/git/repo/base.py", line 982, in clone_from
    return cls._clone(git, url, to_path, GitCmdObjectDB, progress, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/git/repo/base.py", line 933, in _clone
    finalize_process(proc, stderr=stderr)
  File "/usr/local/lib/python3.6/site-packages/git/util.py", line 336, in finalize_process
    proc.wait(**kwargs)
  File "/usr/local/lib/python3.6/site-packages/git/cmd.py", line 418, in wait
    raise GitCommandError(self.args, status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v https://github.com/freenas/iocage-ix-plugins.git /mnt/Plex/iocage/.plugin_index
  stderr: 'Cloning into '/mnt/Plex/iocage/.plugin_index'...
fatal: unable to access 'https://github.com/freenas/iocage-ix-plugins.git/': Failed to connect to github.com port 443: Operation timed out
'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/concurrent/futures/process.py", line 175, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 133, in main_worker
    res = loop.run_until_complete(coro)
  File "/usr/local/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 93, in _run
    return await self._call(name, serviceobj, methodobj, params=args, job=job)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 85, in _call
    return methodobj(*params)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 85, in _call
    return methodobj(*params)
  File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 668, in nf
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/jail.py", line 544, in list_resource
    header=False)
  File "/usr/local/lib/python3.6/site-packages/iocage_lib/iocage.py", line 914, in fetch
    icon=True, official=official)
  File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_plugin.py", line 654, in fetch_plugin_index
    self.__clone_pull_plugin_index()
  File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_plugin.py", line 643, in __clone_pull_plugin_index
    _callback=self.callback)
  File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_common.py", line 90, in logit
    _callback(content, exception)
  File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_common.py", line 64, in callback
    raise callback_exception(message)
RuntimeError: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v https://github.com/freenas/iocage-ix-plugins.git /mnt/Plex/iocage/.plugin_index
  stderr: 'Cloning into '/mnt/Plex/iocage/.plugin_index'...
fatal: unable to access 'https://github.com/freenas/iocage-ix-plugins.git/': Failed to connect to github.com port 443: Operation timed out
'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 165, in call_method
    result = await self.middleware.call_method(self, message)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1096, in call_method
    return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1041, in _call
    return await self._call_worker(name, *args)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1061, in _call_worker
    return await self.run_in_proc(main_worker, name, args, job)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 995, in run_in_proc
    return await self.run_in_executor(self.__procpool, method, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 971, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
RuntimeError: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v https://github.com/freenas/iocage-ix-plugins.git /mnt/Plex/iocage/.plugin_index
  stderr: 'Cloning into '/mnt/Plex/iocage/.plugin_index'...
fatal: unable to access 'https://github.com/freenas/iocage-ix-plugins.git/': Failed to connect to github.com port 443: Operation timed out
'
 

ThreeDee

Guru
Joined
Jun 13, 2013
Messages
700
do you have your default gateway set in global configuration?
 

Christian_128

Dabbler
Joined
Jan 13, 2015
Messages
43
in the gui (web broser) open the shell and try to
-ping google.com, if it's not work, try
-traceroute google.com
you will see where is the bug.
 
Joined
Oct 1, 2019
Messages
4
Ok. It is working now. I think.
I just restarted the Server and the Router. I did this befor but noth both at the same time.

Well, thanks guys anyway.
 
Top