SOLVED Plugins not working with error no Route to Host

RamboFR05TY

Cadet
Joined
Jan 3, 2019
Messages
1
Hi Guys,

I would like to ask for help as i am out of ideas

Current Setup i5 16GB ram with 2x2TB 2x1TB 500GB OS drive


I Cant load available plugins aswell as i cannot update

Plugin Error:
Code:
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 83, in create_connection
    raise err
  File "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 73, in create_connection
    sock.connect(sa)
OSError: [Errno 65] No route to host

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 0x80e489518>: Failed to establish a new connection: [Errno 65] No route to host

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 0x80e489518>: Failed to establish a new connection: [Errno 65] No route to host',))

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 0x80e489518>: Failed to establish a new connection: [Errno 65] No route to host',))
"""

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)


Using Public DNS and resolving domains works fine like google.co.za or other domains and pinging works perfectly fine aswell both in jails and out of jails it is working correctly able to resolve domain and ping IP/domains successfully with no issue via shell


TIA
Regards
RamboFR05TY
 
D

dlavigne

Guest
FreeNAS version?

Also, what is the full output of ifconfig?
 

Beer

Dabbler
Joined
May 21, 2016
Messages
38
EDIT: FIXED - I had to set up the default gateway manually to 192.168.1.1 from Network>Global Configuration. It was blank.

---

@dlavigne I'm having the same issue on a brand new install of FN 11.2 release U1. I get "no route to host" trying to ping google, and viewing plugins will fail with that error.

Set up for static ipv4, no ipv6


OyEQohN.png


5zRd5yg.png


6XbwOWA.png



UXYsWF7.png




adIUjX5.png
 
Last edited:

johnnyz

Cadet
Joined
Jan 3, 2019
Messages
1
EDIT: FIXED - I had to set up the default gateway manually to 192.168.1.1 from Network>Global Configuration. It was blank.

---

@dlavigne I'm having the same issue on a brand new install of FN 11.2 release U1. I get "no route to host" trying to ping google, and viewing plugins will fail with that error.

Set up for static ipv4, no ipv6


OyEQohN.png


5zRd5yg.png


6XbwOWA.png



UXYsWF7.png




adIUjX5.png
the same problem.can you solve it??
 
Top