Help with network settings

xboost

Dabbler
Joined
Jul 22, 2017
Messages
17
I had some problems with plex, so I decided to reinstall it. While trying to do so, I noticed that the plugins list is not loading, and after some time I also discovered that I can't check for updates. I don't know much about networking so any help is appreciated. I initially had some dns issues, but I think that is fixed now since I can ping google.

Here is what I get when I try to check for updates:
Code:
Update server could not be reached

<urlopen error [Errno 61] Connection refused>

Traceback
Traceback (most recent call last):
File "/usr/local/lib/python3.6/urllib/request.py", line 1318, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/usr/local/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/local/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/usr/local/lib/python3.6/http/client.py", line 936, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/usr/local/lib/python3.6/socket.py", line 722, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 61] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./freenasUI/system/views.py", line 1421, in update_check
train=updateobj.get_train(),
File "./freenasUI/system/models.py", line 616, in get_train
trains = conf.AvailableTrains() or []
File "/usr/local/lib/freenasOS/Configuration.py", line 1042, in AvailableTrains
fileref = self.TryGetNetworkFile(file=TRAIN_FILE, reason="FetchTrains")
File "/usr/local/lib/freenasOS/Configuration.py", line 782, in TryGetNetworkFile
raise url_exc
File "/usr/local/lib/freenasOS/Configuration.py", line 756, in TryGetNetworkFile
furl = opener.open(req, timeout=30)
File "/usr/local/lib/python3.6/urllib/request.py", line 526, in open
response = self._open(req, data)
File "/usr/local/lib/python3.6/urllib/request.py", line 544, in _open
'_open', req)
File "/usr/local/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/usr/local/lib/python3.6/urllib/request.py", line 1346, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/usr/local/lib/python3.6/urllib/request.py", line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 61] Connection refused>


Here are my network settings:
Code:
Hostname:                freenas
Domain:                  nas.local
IPv4 Default Gateway:    192.168.0.1
IPv6 Default Gateway:
Nameserver 1:            192.168.0.1
Nameserver 2:            8.8.8.8
Nameserver 3:            8.8.4.4
HTTP Proxy:           
Enable netwait feature:  X
Netwait IP list:   
Host name data base:    
 
Joined
Jan 4, 2014
Messages
1,644
Have you set up the network settings on the jail itself?
 

xboost

Dabbler
Joined
Jul 22, 2017
Messages
17
Have you set up the network settings on the jail itself?
I'm talking about freenas isn't able to connect to the freenas update server. I deleted the jail now so I can't test, but it looked like it couldn't connect before I deleted it.
 
Joined
Jan 4, 2014
Messages
1,644
since I can ping google.
That's pinging Google from the FreeNAS shell?
Which version of FreeNAS?
Also, please provide details of your FreeNAS hardware.
 

xboost

Dabbler
Joined
Jul 22, 2017
Messages
17
That's pinging Google from the FreeNAS shell?
Which version of FreeNAS?
Also, please provide details of your FreeNAS hardware.
Yes I'm pinging from the shell

Freenas 11.0

Intel C2750 cpu
16 GB ECC memory
Supermicro A1SAI-2750F-O motherboard
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Update server IS down right now - 30 minutes or so ago it was projected to be back up in an hour or so.
 

xboost

Dabbler
Joined
Jul 22, 2017
Messages
17
Update server IS down right now - 30 minutes or so ago it was projected to be back up in an hour or so.
I've been working on this for much longer than 30 minutes. Plus the plugin download list doesn't load either, so unless it is the same server, something is wrong with my setup.
 
Joined
Jan 4, 2014
Messages
1,644
Update server IS down right now - 30 minutes or so ago it was projected to be back up in an hour or so.
Did I miss an earlier post on this?
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Apparently, yes - it's in the string on
Lost Data in Upgrade to 11.2
post#92.
 
Joined
Jan 4, 2014
Messages
1,644
've been working on this for much longer than 30 minutes. Plus the plugin download list doesn't load either, so unless it is the same server, something is wrong with my setup.
The update server is back up. Please recheck and advise further.
 

xboost

Dabbler
Joined
Jul 22, 2017
Messages
17
The update server is back up. Please recheck and advise further.
Ok, I am no longer getting errors when checking for updates. That is good news I guess, but still, when I check for plugins I get "No entry has been found", which is what made me think there was an issue with the networking settings in the first place. I discovered the update button gives more info about the error, that's why I used that as my example. Anyway, I guess something else is wrong with plugin downloading, I'll try to find it. (Repository URL is correct) Thanks for your help.
 

xboost

Dabbler
Joined
Jul 22, 2017
Messages
17
I did a fresh install of FreeNAS 11.2 now. Network settings are exactly the same, but I can't even ping google.com. Any idea?
Here is the error I get when I try to load the list of available plugins:
Code:
Error: concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/urllib/request.py", line 1318, in do_open
    encode_chunked=req.has_header('Transfer-encoding'))
  File "/usr/local/lib/python3.6/http/client.py", line 1239, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1285, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1234, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.6/http/client.py", line 964, in send
    self.connect()
  File "/usr/local/lib/python3.6/http/client.py", line 1392, in connect
    super().connect()
  File "/usr/local/lib/python3.6/http/client.py", line 936, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "/usr/local/lib/python3.6/socket.py", line 704, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/local/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] hostname nor servname provided, or not known

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 646, in fetch_plugin_index
    self.__clone_repo(git_server, git_working_dir)
  File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_plugin.py", line 1258, in __clone_repo
    porcelain.pull(destination, repo_url, errstream=devnull)
  File "/usr/local/lib/python3.6/site-packages/dulwich/porcelain.py", line 818, in pull
    path, r, progress=errstream.write, determine_wants=determine_wants)
  File "/usr/local/lib/python3.6/site-packages/dulwich/client.py", line 363, in fetch
    progress)
  File "/usr/local/lib/python3.6/site-packages/dulwich/client.py", line 1398, in fetch_pack
    b"git-upload-pack", url)
  File "/usr/local/lib/python3.6/site-packages/dulwich/client.py", line 1282, in _discover_references
    resp, read = self._http_request(url, headers, allow_compression=True)
  File "/usr/local/lib/python3.6/site-packages/dulwich/client.py", line 1261, in _http_request
    resp = self.opener.open(req)
  File "/usr/local/lib/python3.6/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/usr/local/lib/python3.6/urllib/request.py", line 544, in _open
    '_open', req)
  File "/usr/local/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python3.6/urllib/request.py", line 1361, in https_open
    context=self._context, check_hostname=self._check_hostname)
  File "/usr/local/lib/python3.6/urllib/request.py", line 1320, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 8] hostname nor servname provided, or not known>

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 128, in main_worker
    res = loop.run_until_complete(coro)
  File "/usr/local/lib/python3.6/asyncio/base_events.py", line 468, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 88, in _run
    return await self._call(f'{service_name}.{method}', serviceobj, methodobj, params=args, job=job)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 81, in _call
    return methodobj(*params)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 81, 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 502, 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 653, in fetch_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: <urlopen error [Errno 8] hostname nor servname provided, or not known>
"""

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 1141, 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 1078, in _call
    return await self._call_worker(serviceobj, name, *args)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1105, in _call_worker
    job,
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1036, 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 1021, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
RuntimeError: <urlopen error [Errno 8] hostname nor servname provided, or not known>
 
Joined
Jan 4, 2014
Messages
1,644
Joined
Jan 4, 2014
Messages
1,644
Please provide details of your FreeNAS hardware. Refer to the forum guidelines for the hardware information you should be providing.
 
Joined
Jan 4, 2014
Messages
1,644
Do you have multiple boot environments on the boot drive? Are you able to boot into an earlier 11.1 environment? If so, is the network okay?
 
Joined
Jan 4, 2014
Messages
1,644
Please provide screenshots of the following two screens:
Network > Global Configuration
Network > Interfaces
 

xboost

Dabbler
Joined
Jul 22, 2017
Messages
17
dff.PNG df.PNG
 
Top