[Errrno 111] Connection refused
I'm running the latest release of raspbmc, after adding my username/password settings i get connection error Errrno 111 Connection Refused.
Comments (29)
-
-
yep, restarted after modifying settings. after the restart a popup shows 'script error: server_addon.py'.
-
repo owner Could you please past or link xbmc.log file just right after this error occurs?
-
22:16:09 T:2900384624 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.IOError'> Error Contents: (10, 'No child processes') Traceback (most recent call last): File "/usr/local/AppCentral/xbmc/.xbmc/addons/plugin.audio.spotlight/server_addon.py", line 22, in <module> loader.load_all() File "/usr/local/AppCentral/xbmc/.xbmc/addons/plugin.audio.spotlight/spotlight/service/util/LibLoader.py", line 71, in load_all self.add_native_libraries() File "/usr/local/AppCentral/xbmc/.xbmc/addons/plugin.audio.spotlight/spotlight/service/util/LibLoader.py", line 75, in add_native_libraries architecture = self.get_architecture() File "/usr/local/AppCentral/xbmc/.xbmc/addons/plugin.audio.spotlight/spotlight/service/util/LibLoader.py", line 91, in get_architecture architecture = platform.machine() File "/usr/local/AppCentral/xbmc/xbmc-mplayer/lib/python2.6/platform.py", line 1250, in machine return uname()[4] File "/usr/local/AppCentral/xbmc/xbmc-mplayer/lib/python2.6/platform.py", line 1180, in uname processor = _syscmd_uname('-p','') File "/usr/local/AppCentral/xbmc/xbmc-mplayer/lib/python2.6/platform.py", line 937, in _syscmd_uname rc = f.close() IOError: (10, 'No child processes') -->End of Python script error report<-- 22:16:09 T:2890922864 NOTICE: Thread Jobworker start, auto delete: true 22:16:10 T:3049998688 NOTICE: Webserver: Starting... 22:16:10 T:3049998688 NOTICE: WebServer: Started the webserver 22:16:10 T:3049998688 NOTICE: ES: Starting event server 22:16:10 T:2824006512 NOTICE: Thread CTCPServer start, auto delete: false
-
I get the same error here:
11:21:38 T:140699589302016 NOTICE: -->Python Interpreter Initialized<-- 11:21:38 T:140699589302016 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.IOError'> Error Contents: (10, 'No child processes') Traceback (most recent call last): File "/home/kerlu/.xbmc/addons/plugin.audio.spotlight/server_addon.py", line 22, in <module> loader.load_all() File "/home/kerlu/.xbmc/addons/plugin.audio.spotlight/spotlight/service/util/LibLoader.py", line 71, in load_all self.add_native_libraries() File "/home/kerlu/.xbmc/addons/plugin.audio.spotlight/spotlight/service/util/LibLoader.py", line 75, in add_native_libraries architecture = self.get_architecture() File "/home/kerlu/.xbmc/addons/plugin.audio.spotlight/spotlight/service/util/LibLoader.py", line 91, in get_architecture architecture = platform.machine() File "/usr/lib/python2.7/platform.py", line 1370, in machine return uname()[4] File "/usr/lib/python2.7/platform.py", line 1300, in uname processor = _syscmd_uname('-p','') File "/usr/lib/python2.7/platform.py", line 1035, in _syscmd_uname rc = f.close() IOError: (10, 'No child processes') -->End of Python script error report<-- 11:21:38 T:140699561731840 NOTICE: Thread Jobworker start, auto delete: true
-
repo owner It seems that identification of this particular machine doesn't work in Python because creation of child processes is not allowed. The simplest solution I can think of is extending settings to allow entering machine manually or figure out better way of detection of hardware...
-
Well, I edited "get_architecture" so it always returns "Architecture.X86_64". However, this doesn't quite solve anything, the same script error occurs:
10:30:09 T:140524727633664 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.ImportError'> Error Contents: No module named session Traceback (most recent call last): File "/home/kerlu/.xbmc/addons/plugin.audio.spotlight/server_addon.py", line 24, in <module> from spotlight.service.Server import Server File "/home/kerlu/.xbmc/addons/plugin.audio.spotlight/spotlight/service/Server.py", line 20, in <module> from spotlight.service.session.SpotifyCallbacks import SpotifyCallbacks File "/home/kerlu/.xbmc/addons/plugin.audio.spotlight/spotlight/service/session/SpotifyCallbacks.py", line 20, in <module> from spotify.session import SessionCallbacks ImportError: No module named session -->End of Python script error report<--
-
repo owner Raspberry Pi is built on ARM processor. The correct combination is Platform.LINUX and Architecture.ARMV6. Architecture.X86_64 will not load the correct library. Could you please try to edit and return Architecture.ARMV6 ?
I've got information about Spotlight working on Raspberry Pi so this should work.
-
I know, I tried this on my x86_64 machine. I heven't tried it on my Rpi.
-
repo owner Tell me more about your machine. Is it Windows or Linux? What version of XBMC are you using? You can also paste the beginning of xbmc.log where some information about hardware are logged out.
-
Sorry:
10:30:07 T:140525080258496 NOTICE: Starting XBMC (12.0-RC3 Git:7a6cb7f), Platform: Linux (Ubuntu 13.10, 3.11.0-17-generic x86_64). Built on Sep 12 2013
$ uname -a Linux kerlu-Precision-T1500 3.11.0-17-generic #31-Ubuntu SMP Mon Feb 3 21:52:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux python --version Python 2.7.5+
-
repo owner Thanks. I see you are using RC3 of Frodo. I'll test on this particular version and let you know if I find something.
-
I have the same issue since v.1.0 with my "The Little Black Box", which is a linux-driven XBMC 12.3 device. On startup I always get a phyton error, which I think is related to Spotlight. In case I can help you out with some additional informations, let me know.
-
changed LibLoader.py to return Architecture.ARMV6 on my Cubox-I, since platform.machine() it telling me i have armv7l. Seems to work like a charm now
-
Just wanted to share that I just installed Spotlight on RPi using OpenElec 3.2.4, which results initially in the same error 111. This error is solved after reboot as mentioned in the documentation.
-
Just wondered if anyone had successfully for this working on Android? I'm running a wasser rom on a k-r42 android box with XbmcAtLaunch, and its ALMOST perfect, just missing Spotify from Xbmc and my life would be complete :) I get the above error when running the addin. Also get the same script error 'server_addon.py' on start up, have tried restarting. Any help gratefully appreciated!
-
repo owner Please link or paste xbmc.log after script error. I'm going to add an option to override detected platform with own settings to solve issues with incorrectly loaded libraries.
-
I'm having the same issue (Connection refused)
After configuring it (i set my username and password and didn't touch any of the default values) I have rebooted spotlight two times (once even a full power down). I had SpotiMc installed but i have deinstalled it when spotlight kept giving this error and i have rebooted again after deinstalling spotimc. Unfortunately i still get a Connection refused.
My specs:
- Platform: Linux (OpenELEC - Version: 2.99.2, 3.7.4 x86_64)
- XBMC (12.0-RC3 Git:aea93c3)
I did a tail -f on my log file just before activating spotlight and you can find the output here: http://pastebin.com/njBeEEzR
And i also get the server_addon.py error after rebooting my system, as other users have reported. I looked it up in my logfiles and you can find the output here: http://pastebin.com/EFu6999g
I've tried deinstalling spotlight and installing it again, but without success.
If there's anything i can test or do to help solve this problem let me know.
-
Hi,
I have exactly same error on my Tronsmart MK908II with Android 4.2.2. Here is device info:
#! 20:21:24 T:1086239576 NOTICE: Starting XBMC (13.0 Git:20140505-f42f5b5). Platform: ARM Android 32-bit 20:21:24 T:1086239576 NOTICE: Using Debug XBMC x32 build, compiled May 5 2014 by GCC 4.8.0 for ARM Android 32-bit API level 14 20:21:24 T:1086239576 NOTICE: Running on Android 32-bit API level 17 (Android, 3.0.36+ armv7l) 20:21:24 T:1086239576 NOTICE: Host CPU: ARMv7 Processor rev 0 (v7l), 4 cores available 20:21:24 T:1086239576 NOTICE: Product: rk31sdk, Device: rk31sdk, Board: rk31sdk - Manufacturer: rockchip, Brand: rk31sdk, Model: MK908II, Hardware: rk30board 20:21:24 T:1086239576 NOTICE: ARM Features: Neon enabled
And here is error log after script loading:
#! 20:21:43 T:1842111288 ERROR: Exception 20:21:43 T:1842111288 ERROR: OSError 20:21:43 T:1842111288 ERROR: : 20:21:43 T:1842111288 ERROR: OSError("Unable to find 'libspotify'",) 20:21:43 T:1842111288 ERROR: in 20:21:43 T:1842111288 ERROR: <bound method ?.? of <spotify.session.Session instance at 0x743c8530>> 20:21:43 T:1842111288 ERROR: ignored 20:21:43 T:1842111288 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.OSError'> Error Contents: Unable to find 'libspotify' Traceback (most recent call last): File "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.audio.spotlight/server_addon.py", line 29, in <module> Server().start_rpc_server() File "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.audio.spotlight/spotlight/service/Server.py", line 45, in __init__ self.set_up_session() File "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.audio.spotlight/spotlight/service/Server.py", line 105, in set_up_session self.session = SessionFactory(callbacks, self.settings).create_session() File "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.audio.spotlight/spotlight/service/session/SessionFactory.py", line 43, in create_session initially_unload_playlists=False, File "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.audio.spotlight/resources/libs/PyspotifyCtypes-0.6-py2.4.egg/spotify/session.py", line 310, in __init__ err = self.__session_interface.create(ctypes.byref(config), ctypes.byref(self.__session_struct)) File "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.audio.spotlight/resources/libs/PyspotifyCtypes-0.6-py2.4.egg/_spotify/session.py", line 129, in create ctypes.POINTER(config), ctypes.POINTER(ctypes.c_void_p) File "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.audio.spotlight/resources/libs/PyspotifyCtypes-0.6-py2.4.egg/_spotify/__init__.py", line 73, in _get_func lib = self.get_library() File "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.audio.spotlight/resources/libs/PyspotifyCtypes-0.6-py2.4.egg/_spotify/__init__.py", line 66, in get_library self.__library = self._load_library() File "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.audio.spotlight/resources/libs/PyspotifyCtypes-0.6-py2.4.egg/_spotify/__init__.py", line 91, in _load_library return ll.load('libspotify') File "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.audio.spotlight/resources/libs/PyspotifyCtypes-0.6-py2.4.egg/_spotify/__init__.py", line 189, in load _library_cache[name] = self._load(name) File "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.audio.spotlight/resources/libs/PyspotifyCtypes-0.6-py2.4.egg/_spotify/__init__.py", line 183, in _load return self._load_from_sys_path(loader, name) File "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.audio.spotlight/resources/libs/PyspotifyCtypes-0.6-py2.4.egg/_spotify/__init__.py", line 165, in _load_from_sys_path raise OSError("Unable to find '%s'" % name) OSError: Unable to find 'libspotify' -->End of Python script error report<-- 20:21:43 T:1842043760 INFO: Python script stopped
I tried to change architecture in settings to LINUX and ARM6, but there is no effect.
Please let me know if it can be solved somehow.
-
This patch fixes the problem for me on Raspberry Pi. It prepends internal libraries paths instead of appending them to avoid picking up random libraries with similar names from the general system.
-
This patch doesn't work for me. It installs just fine, but when i try to run it i get the connection refused again and i see these errors in my log:
21:42:23 T:140014866663232 ERROR: GetDirectory - Error getting plugin://plugin.audio.spotlight/ 21:42:23 T:140014866663232 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.spotlight/) failed
-
I don't see how this error could be related to the patch. The error looks more like a general plugin installation failure.
-
Hi all, I have a similar problem with the library path: http://pastebin.com/pm2htBDH the error is quite plain: ERROR: OSError("Unable to find 'libspotify'",) I try Ianguitar's patch but not work for me.. I'm using: NOTICE: Your platform (x86_64 System.Platform.Linux) on QNAP TS-451 maybe I should modify something in /spotlight/service/util/LibLoader.py thanks all for help. Regards.
-
I got exactly the same problem on Raspberry Pi with the latest version of Raspbmc: [Errrno 111] Connection refused. Therefore these questions: * Should I use the experimental ARM version of Spotlight 1.2.0? * Is it better to use OpenELEC or XBian instead of Raspbmc? * What is the best way to use Spotlight on the Raspberry PI? * Is Spotify deliberately blocking Spotlight users? Because it is not a so called Spotify partner device?
-
Account Deleted I' m on OSMC September 2 Version on a Raspberry Pi 2. I get the [Errrno 111] Connection refused error as well, even after several reboots. My log says
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<$ - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.ImportError'> Error Contents: cannot import name SessionCallbacks Traceback (most recent call last): File "/home/osmc/.kodi/addons/plugin.audio.spotlight/server_addon.py", line 27, in <module> from spotlight.service.Server import Server File "/home/osmc/.kodi/addons/plugin.audio.spotlight/spotlight/service/Server.py", line 20, i$ from spotlight.service.session.SpotifyCallbacks import SpotifyCallbacks File "/home/osmc/.kodi/addons/plugin.audio.spotlight/spotlight/service/session/SpotifyCallbac$ from spotify.session import SessionCallbacks ImportError: cannot import name SessionCallbacks -->End of Python script error report<--
-
Hi, I have exactly the same issue. I am trying the addon with Kodi 15.2 on Android Lollipop 5.0 on LG G3 D855 Device
-
Also having the same problem - Kodi 15.2
-
The last experimental release works for me. I got the errno 111 before test it. I use spotlight into raspbian over armv7
-
I used the patch + I override platform detection in the parameters of Spotlight -> advanced -> Operating System to Linux and Architecture to armv6
- Log in to comment
Have you restarted? I had a similar issue until I read the WIKI install instructions that mention a restart is required after modifying any settings.