Finally moving off of Corral - can't get FreeNAS 11.0 RC to access update server

Status
Not open for further replies.

Sean Coston

Contributor
Joined
Jul 25, 2014
Messages
128
Title says it all.
Currently on FreeNAS-11.0-RC (ad90a865b)

When I try to check for updates, the system hangs for a minute or two then a window pops up with this:

Code:
Update server could not be reached

<urlopen error timed out>


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/site-packages/eventlet/green/socket.py", line 63, in create_connection
raise err
File "/usr/local/lib/python3.6/site-packages/eventlet/green/socket.py", line 53, in create_connection
sock.connect(sa)
File "/usr/local/lib/python3.6/site-packages/eventlet/greenio/base.py", line 252, in connect
timeout_exc=socket.timeout("timed out"))
File "/usr/local/lib/python3.6/site-packages/eventlet/greenio/base.py", line 203, in _trampoline
mark_as_closed=self._mark_as_closed)
File "/usr/local/lib/python3.6/site-packages/eventlet/hubs/__init__.py", line 162, in trampoline
return hub.switch()
File "/usr/local/lib/python3.6/site-packages/eventlet/hubs/hub.py", line 294, in switch
return self.greenlet.switch()
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./freenasUI/system/views.py", line 1407, 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 timed out>


Any Clue as to what's going on? I also cant select the nightlies train, but would like to.

SDC
 
Last edited by a moderator:

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
I don't work with FN11, but drop to shell, and see if
Code:
drill www.ibm.com
works, or gives you an error. I wonder if your nameserver is not correct. (Still shouldn't fail so miserably even if so).

If that doesn't work, see if you can
Code:
ping 8.8.8.8
.

If you can't do either, then try setting your default gateway in the network config in the GUI to your router's IP.
If you can do the second, but not the first, try setting your nameserver to 8.8.8.8.
If you can do the first, but not the second, then that should be impossible, and I have no idea what's going on, weird network situation.
If you can do both, then something else is wrong.
 

Sean Coston

Contributor
Joined
Jul 25, 2014
Messages
128
If you can do the first, but not the second, then that should be impossible, and I have no idea what's going on, weird network situation.

this was my situation, but I figured it out...Had my default gateway set to my freenas local ip instead of my router....like an idiot! :rolleyes:

Sean
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Definitely file a bug report for that traceback, though.
 
Status
Not open for further replies.
Top