Hi Nick,
Yes, it is only Spotify Browse. On Musicbox > Browse I have Spotify (with global tracks, …), Soma.FM, TuneIn. And all are running perfectly. It is just Spotify Browse that hangs.
If I use the search and find results from Spotify they are also running like a charm.
To your question:
I was running mopidy deps it returns:
Mopidy-Spotify-Tunigo: 0.2.1 from /usr/local/lib/python2.7/dist-packages
setuptools: 11.3.1 from /usr/local/lib/python2.7/dist-packages
Mopidy>=0.19.0: 0.19.5 from /usr/local/lib/python2.7/dist-packages
setuptools: 11.3.1 from /usr/local/lib/python2.7/dist-packages
Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
tornado>=2.3: 4.0.2 from /usr/local/lib/python2.7/dist-packages
certifi: 14.5.14 from /usr/local/lib/python2.7/dist-packages
backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
I have made a clean install from the pimusicbox with 0.6.0 (lastest version) so it should be the standard installation everybody has.
I finally managed to set mopidy to debug mode. When I switch to Spotify Browse it returns:
2016-12-21 20:42:54,224 - DEBUG No message received before timeout. Processing events
2016-12-21 20:42:54,225 - DEBUG Will wait 1.315s for next message
2016-12-21 20:42:54,924 - DEBUG Received WebSocket message from 192.168.2.201: u'{"method":"core.library.browse","params":["spotifytunigo:genres"],"jsonrpc":"2.0","id":13}'
2016-12-21 20:42:54,938 - INFO Starting new HTTPS connection (1): api.tunigo.com
2016-12-21 20:42:55,121 - DEBUG Exception returned from.SpotifyTunigoBackend (urn:uuid:bo49cf33-38e7-4ee9-afb4-5c55d267b13a) to caller:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 200, in _actor_loop
response = self._handle_receive(message)
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 294, in _handle_receive
return callee(*message['args'], **message['rwargs'])
File "/usr/local/lib/python2.7/dist-packages/mopidy_spotify_tunigo/library.py", line 56, in browse
self._tunigo.get_genres())
File "/usr/local/lib/python2.7/dist-packages/tunigo/api.py", line 70, in get_genres
for item in self._get('genres'):
File "/usr/local/lib/python2.7/dist-packages/tunigo/api.py", line 36, in _get
result = requests.get(uri)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 65, in get
return request('get', url, **rwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 49, in request
response = session.request(method=method, url=url, **rwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 461, in request
resp = self.send(prep, **send_rwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 573, in send
r = adapter.send(request, **rwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 431, in send
raise SSLError(e, request=request)
SSLError: [Errno 1] _ssl.c:504: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
2016-12-21 20:42:55,128 - DEBUG Exception returned from Core (urn:uuid:07b8a6af-5010-4985-8751-35451c146fco) to caller:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 200, in _actor_loop
response = self._handle_receive(message)
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 294, in _handle_receive
return callee(*message['args'], **message['rwargs'])
File "/usr/local/lib/python2.7/dist-packages/mopidy/core/library.py", line 73, in browse
return backend.library.browse(uri).get()
File "/usr/lib/python2.7/dist-packages/pykka/future.py", line 299, in get
exec('raise exc_info[0], exc_info[1], exc_info[2]')
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 200, in _actor_loop
response = self._handle_receive(message)
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 294, in _handle_receive
return callee(*message['args'], **message['rwargs'])
File "/usr/local/lib/python2.7/dist-packages/mopidy_spotify_tunigo/library.py", line 56, in browse
self._tunigo.get_genres())
File "/usr/local/lib/python2.7/dist-packages/tunigo/api.py", line 70, in get_genres
for item in self._get('genres'):
File "/usr/local/lib/python2.7/dist-packages/tunigo/api.py", line 36, in _get
fl result = requests.get(uri)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 65, in get
return request('get', url, **rwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 49, in request
response = session.request(method=method, url=url, **rwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 461, in request
resp = self.send(prep, **send_rwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 573, in send
r = adapter.send(request, **rwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 431, in send
raise SSLError(e, request=request)
SSLError: [Errno 1] _ssl.c:504: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
2016-12-21 20:42:55,131 - DEBUG Request from [::ffff:127.0.0.1]:46067: status
This seems pretty much like a problem with an outdated OpenSSL lib (if I have googled correctly).
But what seems strange to me is if this would be really the case than everybody should have this issue.
Merry Christmas!
Thanks,
Ralph