When I click 'available plugins' to view them I get this error and it won't load. On the latest 11.2 stable branch

BottomsUp

Dabbler
Joined
Jun 28, 2014
Messages
23
Error: concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/jail.py", line 816, in get_plugin_version
'iocage_rpkgdict')
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 100, in call_sync
return self.client.call(method, *params, timeout=timeout, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py", line 451, in call
raise c.py_exception
KeyError: 'iocage_rpkgdict'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.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/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 357, in _make_request
conn.request(method, url, **httplib_request_kw)
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/site-packages/urllib3/connection.py", line 166, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 150, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x80e587c88>: 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.6/site-packages/requests/adapters.py", line 440, in send
timeout=timeout
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 388, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='pkg.cdn.trueos.org', port=80): Max retries exceeded with url: /iocage/11.2-RELEASE/All (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x80e587c88>: 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.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 485, in list_resource
pv = self.get_plugin_version(plugin[2])
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/jail.py", line 822, in get_plugin_version
f'http://pkg.cdn.trueos.org/iocage/{branch}/All')
File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 508, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='pkg.cdn.trueos.org', port=80): Max retries exceeded with url: /iocage/11.2-RELEASE/All (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x80e587c88>: Failed to establish a new connection: [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 161, in call_method
result = await self.middleware.call_method(self, message)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1109, 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 1046, in _call
return await self._call_worker(serviceobj, name, *args)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1073, in _call_worker
job,
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1004, 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 989, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
requests.exceptions.ConnectionError: None: Max retries exceeded with url: /iocage/11.2-RELEASE/All (Caused by None)
 

BottomsUp

Dabbler
Joined
Jun 28, 2014
Messages
23
humm I didn't set a static IP. at least not that I know of. How do I confirm? the only thing different is that a few days ago I configured Rancher via the Docker VM settings to add some containers.
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
There's a couple of lines in the traceback that imply that name resolution is not working.
From the shell "ping www.microsoft.com".
It should resolve and ping the IP address.
 

BottomsUp

Dabbler
Joined
Jun 28, 2014
Messages
23
There's a couple of lines in the traceback that imply that name resolution is not working.
From the shell "ping www.microsoft.com".
It should resolve and ping the IP address.

pinging google and other sites worked. My docker containers can also reach the internet and my FreeNAS just updated to 11.2 update 1 yesterday. it's only the plugin's config that has this issue. any other ideas?
 

oliversong

Cadet
Joined
Dec 29, 2019
Messages
2
i meet same problem in FreeNAS 11.2 U7, and i solved it by adding a hostname in /etc/hosts.
you can also enter "network->global configuration", edit "host name database" inputbox , add a hostname record. for example:
192.168.0.2 your_host_name
network configuration.jpg
 
Top