Solved LibreELEC VBox Addon V4.7.0.1 fails to load on RPi4
#1
I have LibreELEC 9.2.0 running on RPi4.arm with Kodi V18.5. I have installed the Vbox addon from the LibreELEC repository. It installs but fails to connect to the backend. A restart causes Kodi to crash & then the addon fails to load. This behavior also applies if the earlier 4.4.8.5 version of the addon is installed.

This is the error from the log file:

2019-04-11 16:28:44.282 T:2881561456   ERROR: CCurlFile::FillBuffer - Failed: Couldn't connect to server(7)
2019-04-11 16:28:44.282 T:2881561456   ERROR: CCurlFile::Open failed with code 0 for http://192.168.1.9:80/cgi-bin/HttpContro...ySwVersion:
2019-04-11 16:28:44.286 T:2881561456   ERROR: CCurlFile::FillBuffer - Failed: Couldn't connect to server(7)
2019-04-11 16:28:44.286 T:2881561456   ERROR: CCurlFile::Open failed with code 0 for http://192.168.1.9:80/cgi-bin/HttpContro...ySwVersion:
2019-04-11 16:28:44.287 T:2881561456   ERROR: AddOnLog: VBox TV Gateway PVR Client: pvr.vbox - Request failed: Unable to perform request (QuerySwVersion)
2019-04-11 16:28:44.287 T:2881561456   ERROR: ADDON: Dll VBox TV Gateway PVR Client - Client returned bad status (1) from Create and is not usable
2019-04-11 16:28:44.399 T:2800726896  NOTICE: Register - new cec device registered on cec->RPI: CEC Adapter (2708:1001)
2019-04-11 16:28:46.823 T:2766369648   ERROR: ## LibreELEC Addon ## oe::load_url(http://releases.libreelec.tv/releases.json) ## ERROR: (URLError(gaierror(-3, 'Temporary failure in name resolution'),))
2019-04-11 16:28:46.824 T:2766369648   ERROR: Traceback (most recent call last):
                                              File "/var/lib/jenkins/LE/build4/workspace/RPi4/build.LibreELEC-RPi4.arm-9.2.0/LibreELEC-settings-6dbbbed01f8173b346319b5bd501134920678403/.install_pkg/usr/share/kodi/addons/service.libreelec.settings/oe.py", line 272, in load_url
                                              File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
                                              File "/usr/lib/python2.7/urllib2.py", line 429, in open
                                              File "/usr/lib/python2.7/urllib2.py", line 447, in _open
                                              File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
                                              File "/usr/lib/python2.7/urllib2.py", line 1228, in http_open
                                              File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
                                            URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
2019-04-11 16:28:47.713 T:2605708144   ERROR: ## LibreELEC Addon ## oe::load_url(https://update.libreelec.tv/updates.php?...f=00c03112) ## ERROR: (URLError(gaierror(-3, 'Temporary failure in name resolution'),))
2019-04-11 16:28:47.718 T:2605708144   ERROR: Traceback (most recent call last):
                                              File "/var/lib/jenkins/LE/build4/workspace/RPi4/build.LibreELEC-RPi4.arm-9.2.0/LibreELEC-settings-6dbbbed01f8173b346319b5bd501134920678403/.install_pkg/usr/share/kodi/addons/service.libreelec.settings/oe.py", line 272, in load_url
                                              File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
                                              File "/usr/lib/python2.7/urllib2.py", line 429, in open
                                              File "/usr/lib/python2.7/urllib2.py", line 447, in _open
                                              File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
                                              File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
                                              File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
                                            URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
2019-04-11 16:28:47.720 T:2605708144   ERROR: ## LibreELEC Addon ## updates::check_updates_v2 ## ERROR: (TypeError('expected string or buffer',))
2019-04-11 16:28:47.721 T:2605708144   ERROR: Traceback (most recent call last):
                                              File "/var/lib/jenkins/LE/build4/workspace/RPi4/build.LibreELEC-RPi4.arm-9.2.0/LibreELEC-settings-6dbbbed01f8173b346319b5bd501134920678403/.install_pkg/usr/share/kodi/addons/service.libreelec.settings/resources/lib/modules/updates.py", line 564, in check_updates_v2
                                              File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
                                              File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
                                            TypeError: expected string or buffer
2019-04-11 16:28:48.959 T:2881561456   ERROR: UpdateAddons: Failed to create add-on VBox TV Gateway PVR Client, status = 1
2019-12-28 10:47:01.568 T:3011313680   ERROR: Control 1000 in window 13001 has been asked to focus, but it can't
2019-12-28 10:47:29.322 T:3011313680   ERROR: Control 1200 in window 13001 has been asked to focus, but it can't

I have exactly the same LibreELEC & Kodi versions running on an RPi3b & the VBox addon V4.7.0.1 runs perfectly.
Reply
#2
(2019-12-28, 13:02)keefb46 Wrote: This is the error from the log file:
Please do not plaster log files or big snippets thereof directly into our forum. Use a pastebin website for that.
Also in most cases the FULL log file is much more convenient, not just your 'interesting' pastes. Problems can unfold at any time.

I guess we need to increase the font size of the "Do not post logs in the forum" remark...
Reply
#3
(2019-12-28, 13:33)Klojum Wrote:
(2019-12-28, 13:02)keefb46 Wrote: This is the error from the log file:
Please do not plaster log files or big snippets thereof directly into our forum. Use a pastebin website for that.
Also in most cases the FULL log file is much more convenient, not just your 'interesting' pastes. Problems can unfold at any time.

I guess we need to increase the font size of the "Do not post logs in the forum" remark... 
The log file is too big for the log file uploader to accept so I posted the bit that the developer needs to see to address the issue.
Reply
#4
You can also use Ubuntu's pastebin site for longer log files.
Or simply cut the log file in multiple parts. Smile
Reply
#5
Not completely clear from the snippet, but it looks like a networking issue to me.

xml:
2019-04-11 16:28:44.282 T:2881561456   ERROR: CCurlFile::FillBuffer - Failed: Couldn't connect to server(7)
2019-04-11 16:28:44.282 T:2881561456   ERROR: CCurlFile::Open failed with code 0 for http://192.168.1.9:80/cgi-bin/HttpContro...ySwVersion:
2019-04-11 16:28:44.286 T:2881561456   ERROR: CCurlFile::FillBuffer - Failed: Couldn't connect to server(7)
2019-04-11 16:28:44.286 T:2881561456   ERROR: CCurlFile::Open failed with code 0 for http://192.168.1.9:80/cgi-bin/HttpContro...ySwVersion:

Then later on,

xml:
2019-04-11 16:28:46.823 T:2766369648   ERROR: ## LibreELEC Addon ## oe::load_url(http://releases.libreelec.tv/releases.json) ## ERROR: (URLError(gaierror(-3, 'Temporary failure in name resolution'),))
URLError: <urlopen error [Errno -3] Temporary failure in name resolution>

So no DNS at that point.  Is the network even up and running and connected to anything?  My guess would be no, looking at those errors.
Learning Linux the hard way !!
Reply
#6
Just go to kodi settings and under LibreElec enable wait for network. That should fix it.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#7
(2019-12-28, 22:43)phunkyfish Wrote: Just go to kodi settings and under LibreElec enable wait for network. That should fix it.

That did the trick. Many thanks
Reply
#8
Thread marked solved.
Reply

Logout Mark Read Team Forum Stats Members Help
LibreELEC VBox Addon V4.7.0.1 fails to load on RPi40