Cannot install any plugin - urlopen error [Errno 8]

Status
Not open for further replies.

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Unfortunately it might be best to log a job about that. It shouldn't be occuring.

Log a job? I think you mean submit a bug report?

Words mean things.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Log a job? I think you mean submit a bug report?

Words mean things.
That's what I meant, excellent pedantry, thanks.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377

babaz83

Dabbler
Joined
Nov 10, 2014
Messages
19
This has been reported and will be fixed for BETA2: https://redmine.ixsystems.com/issues/37870 .
I've updated with a lot of issues as usual but the problem still there with a different name ..

<urlopen error [Errno 8] hostname nor servname provided, or not known>

Code:
Error: concurrent.futures.process._RemoteTraceback: 
"""
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 1392, in connect
	super().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/socket.py", line 704, in create_connection
	for res in getaddrinfo(host, port, 0, 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/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 122, 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 82, 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 75, in _call
	return methodobj(*params)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 75, in _call
	return methodobj(*params)
  File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 662, in nf
	return f(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/jail.py", line 248, in fetch
	iocage.fetch(**options)
  File "/usr/local/lib/python3.6/site-packages/iocage/lib/iocage.py", line 909, in fetch
	props, accept_license=accept, official=official)
  File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_plugin.py", line 690, in fetch_plugin_index
	props, 0, accept_license)
  File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_plugin.py", line 128, in fetch_plugin
	self.__fetch_plugin_post_install__(conf, _conf, jaildir, jail_name)
  File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_plugin.py", line 515, in __fetch_plugin_post_install__
	self.__clone_repo(conf['artifact'], f'{jaildir}/plugin')
  File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_plugin.py", line 1233, in __clone_repo
	remote_refs = client.fetch(repo_url, local)
  File "/usr/local/lib/python3.6/site-packages/dulwich/client.py", line 363, in fetch
	progress)
  File "/usr/local/lib/python3.6/site-packages/dulwich/client.py", line 1398, in fetch_pack
	b"git-upload-pack", url)
  File "/usr/local/lib/python3.6/site-packages/dulwich/client.py", line 1282, in _discover_references
	resp, read = self._http_request(url, headers, allow_compression=True)
  File "/usr/local/lib/python3.6/site-packages/dulwich/client.py", line 1261, in _http_request
	resp = self.opener.open(req)
  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 1361, in https_open
	context=self._context, check_hostname=self._check_hostname)
  File "/usr/local/lib/python3.6/urllib/request.py", line 1320, in do_open
	raise URLError(err)
urllib.error.URLError: <urlopen error [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/job.py", line 332, in run
	await self.future
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
	return self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/site-packages/middlewared/job.py", line 356, in __run_body
	rv = await self.middleware._call_worker(self.serviceobj, self.method_name, *self.args, job={'id': self.id})
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
	return self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 977, in _call_worker
	job,
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
	return self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 908, in run_in_proc
	return await self.run_in_executor(self.__procpool, method, *args, **kwargs)
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
	return self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 902, in run_in_executor
	return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
urllib.error.URLError: <urlopen error [Errno 8] hostname nor servname provided, or not known>

 

babaz83

Dabbler
Joined
Nov 10, 2014
Messages
19
Guys, the problem is the DHCP is not working for some BUG i guess. I did put the ip address and the mask everything works
 

Dongle

Cadet
Joined
Nov 7, 2013
Messages
3
Thank you for your report and tip.
My Plex Media Server is working now also.
The problem is is now, when i close the flex webpage, the connection from my device vs. Ipad to DLNA server is broken after a few minutes
and i can't more see the DLNA-Server in my lan, also after the freenas server restart, and then i had problems with the guest account login with my SAT-Receiver for access on my movies. Too much problems. I did a fallback to FreeNAS-11.1-U5 who works fine.
 

wblock

Documentation Engineer
Joined
Nov 14, 2014
Messages
1,506
Guys, the problem is the DHCP is not working for some BUG i guess. I did put the IP address and the mask everything works
If you could elaborate on that: what IP address did you enter, in which field, and with which netmask?
 

babaz83

Dabbler
Joined
Nov 10, 2014
Messages
19
If you could elaborate on that: what IP address did you enter, in which field, and with which netmask?
I set an IPV4 static ip with the correct subnet. Usually with the previous versions it was not needed because the DHCP was working like a charm. By the way now I don't know how to configure the plugins. There is no option.
 
Last edited by a moderator:
Status
Not open for further replies.
Top