Unable to make new jail

ShaoMcLulz

Cadet
Joined
Oct 3, 2021
Messages
1
Hi all, sorry if this is a silly post but my experience is limited. I’d like to make a new jail. I had a couple of older ones for emby and unifi but they very old and I decided to start fresh after installing unif5 when I needed 6. However, when I try to make a new jail I get the attached error. From searching and reading most people point towards default gateway and name servers, which I can confirm are both correct.



From tinkering with this for hours and the ability I have to ping google.com and freebsd.org is it possible the freebsd port required is being blocked by my unifi gear? I had pi hole running which I’ve disabled without any joy.

I'd really appreciate any help please.


Version:

FreeNAS-11.3-U5



report_problem ConnectionError

HTTPSConnectionPool(host='www.freebsd.org', port=443): Max retries exceeded with url: /security/unsupported.html (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 8] hostname nor servname provided, or not known'))



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 61, in create_connection

for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):

File "/usr/local/lib/python3.7/socket.py", line 752, 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.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen

chunked=chunked,

File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request

self._validate_conn(conn)

File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn

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 0x83409d450>: Failed to establish a new connection: [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.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 NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x83409d450>: Failed to establish a new connection: [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.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 516, in send

raise ConnectionError(e, request=request)

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.freebsd.org', port=443): Max retries exceeded with url: /security/unsupported.html (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x83409d450>: Failed to establish a new connection: [Errno 8] hostname nor servname provided, or not known'))
 

sovcali

Cadet
Joined
Oct 16, 2021
Messages
4
Hi there, I'm having this error in Freenas 11.2-U8 right now, at first I tought it was a problem with DST Root X3 cert and downloaded nss-3.71 but this particular problem that OP describes still persist, @ShaoMcLulz did you find any solution yet?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Check your networking settings. Usually this kind of error is due to either a missing default gateway or missing DNS servers in your TrueNAS config.
 
Top