Software updates not working: FreeNAS-11.3-U5 (SOLVED)

Dennis Lovelady

Dabbler
Joined
Apr 6, 2016
Messages
31
Receiving the following error:
Code:
Unable to connect to url https://update-master.ixsystems.com/FreeNAS/trains.txt: Automatic update check failed. Please check system network settings. 

when trying to check for updates. (This is after about a 30-second wait, which sounds a lot like a DNS problem.)

From the same FreeNAS system, in a shell, if I execute "ping update-master.ixsystems.com" I get immediate responses, no issue at all, so I know that at some level the system can resolve the name.

I also know that, from a local browser, I can access https://update-master.ixsystems.com/FreeNAS/trains.txt :
Code:
FreeNAS-9.10-STABLE            Release train for FreeNAS 9.10. Legacy, now in maintenance mode.
FreeNAS-11-STABLE            Release Train for FreeNAS 11.1 [release]
FreeNAS-11.2-STABLE            Release Train for FreeNAS 11.2 [release]
FreeNAS-11.3-STABLE                     Release Train for FreeNAS 11.3 [release]
TrueNAS-12.0-STABLE            Release Train for TrueNAS 12.0 [release]
TrueNAS-12.1-Nightlies                  Nightly builds for TrueNAS 12. Development version, for testing only. [nightly] 


So it seems then network in general has no problem with the site. So it sounds (to me) like this issue may be limited to the GUI. But beyond that, I'm at a loss.

This worked until a couple of weeks ago. In that time, two things have changed: Upgrade from a prior 11.3 version (-u3, I think), and a change of internet service provider.

Any ideas?

Note: I suspect this relates to the problem that I cannot create new jails (see https://www.truenas.com/community/threads/cannot-create-new-jail-no-releases-entries-in-list.92798/). That issue (which has had no replies) has a similar but different complaint:
Code:
HTTPSConnectionPool(host='www.freebsd.org', port=443): Max retries exceeded with url: /security/unsupported.html (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [Errno 60] Operation timed out')))

Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 157, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection
    raise err
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 60] Operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 662, in urlopen
    self._prepare_proxy(conn)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 948, in _prepare_proxy
    conn.connect()
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 334, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x832ce0a50>: Failed to establish a new connection: [Errno 60] Operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.freebsd.org', port=443): Max retries exceeded with url: /security/unsupported.html (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x832ce0a50>: Failed to establish a new connection: [Errno 60] Operation timed out')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 130, in call_method
    io_thread=False)
  File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1098, in _call
    return await run_method(methodobj, *args)
  File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1022, in _run_in_conn_threadpool
    return await self.run_in_executor(self.__ws_threadpool, method, *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1010, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 965, in nf
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/jail.py", line 674, in releases_choices
    choices = {str(k): str(k) for k in ListableReleases(remote=remote)}
  File "/usr/local/lib/python3.7/site-packages/iocage_lib/release.py", line 46, in __init__
    self.eol_list = IOCFetch.__fetch_eol_check__()
  File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_fetch.py", line 114, in __fetch_eol_check__
    req = requests.get(_eol)
  File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.7/site-packages/raven/breadcrumbs.py", line 341, in send
    resp = real_send(self, request, *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 510, in send
    raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='www.freebsd.org', port=443): Max retries exceeded with url: /security/unsupported.html (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x832ce0a50>: Failed to establish a new connection: [Errno 60] Operation timed out')))
 
Last edited:

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
Odd, in Network -> General settings do you have any sort of HTTP proxy's defined? Seeing some proxy errors listed there... Also is system time set correctly? That can cause HTTPS to fail in fun and surprising ways :)
 

Dennis Lovelady

Dabbler
Joined
Apr 6, 2016
Messages
31
Odd, in Network -> General settings do you have any sort of HTTP proxy's defined? Seeing some proxy errors listed there... Also is system time set correctly? That can cause HTTPS to fail in fun and surprising ways :)
Nailed it! There was an 8 (just the character 8) in the proxy field of that screen. I have no idea how it got there, but removing that solved the problem! Thanks so much for the tip; I’d never visited that page before. Or I don’t remember doing so.
 

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
Ha, wish they were all so easy :)
 
Top