YouTube doesn't work

Hi,

since some days YouTube hasn’t been working correctly anymore. Some times I could open the AddOn and after opening a video twice or more times, it was played. But since yesterday I can’t open the Addon at all.

In the logfile:
20:32:42 69.094749 T:2686448672 NOTICE: -->Python Interpreter Initialized<-- 20:32:56 83.419830 T:2686448672 NOTICE: [plugin.video.youtube] Running: YouTube (5.1.10) on Isengard (15.2) with Python 2.7.9 20:33:45 132.901764 T:2686448672 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'urllib2.URLError'> Error Contents: <urlopen error [Errno -2] Name or service not known> Traceback (most recent call last): File "/home/osmc/.kodi/addons/plugin.video.youtube/default.py", line 7, in <module> runner.run(__provider__) File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/kodion/runner.py", line 32, in run __RUNNER__.run(provider, context) File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/kodion/impl/xbmc/xbmc_runner.py", line 23, in run results = provider.navigate(context) File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 123, in navigate result = method(context, re_match) File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 157, in _internal_root return self.on_root(context, re_match) File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/youtube/provider.py", line 487, in on_root self.get_client(context) File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/youtube/provider.py", line 149, in get_client refresh_tokens[0]) File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/youtube/client/login_client.py", line 131, in refresh_token_tv grant_type=grant_type) File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/youtube/client/login_client.py", line 161, in refresh_token result = requests.post(url, data=post_data, headers=headers, verify=False) File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/kodion/simple_requests/api.py", line 184, in post return _request('POST', url, data=data, json=json, **kwargs) File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/kodion/simple_requests/api.py", line 155, in _request response = opener.open(request) File "/usr/lib/python2.7/urllib2.py", line 431, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 449, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 1240, in https_open context=self._context) File "/usr/lib/python2.7/urllib2.py", line 1197, in do_open raise URLError(err) URLError: <urlopen error [Errno -2] Name or service not known> -->End of Python script error report<-- 20:33:46 133.021286 T:3024970288 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/ 20:33:46 133.029099 T:3024970288 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed

After reinstalling OSMC it doesn’t work as well. :frowning:

Hope you can help me!

Many greetings from Germany,
Maxi

Do you by any chance have another Kodi installation (e.g. on your laptop) with which you can confirm that the Addon generally is still working in Kodi from your network?

What version of kodi do you have?
Maybe you can download a different version of osmc and try with it?
Also what youtube addon do you have?

Almost certainly an issue with the addon. I would seek support from the Addon author. There should be a support thread somewhere in here:

http://forum.kodi.tv/forumdisplay.php?fid=154

(Note that there are two different Youtube addons for Kodi so check which one you are using)