EnigmaCurry / GMusicFS

A FUSE filesystem for Google Music
153 stars 36 forks source link

SSL certificate failing... I think? #12

Closed peavers closed 11 years ago

peavers commented 11 years ago
 File "gmusicfs.py", line 452, in <module>
    main()
  File "gmusicfs.py", line 444, in main
    fs = GMusicFS(mountpoint, true_file_size=args.true_file_size, verbose=verbosity, scan_library= not args.nolibrary)
  File "gmusicfs.py", line 225, in __init__
    true_file_size=true_file_size, verbose=verbose, scan=scan_library)
  File "gmusicfs.py", line 117, in __init__
    self.__login_and_setup(username, password)
  File "gmusicfs.py", line 161, in __login_and_setup
    self.api.login(username, password)
  File "/usr/local/lib/python2.7/dist-packages/gmusicapi/clients/mobileclient.py", line 34, in login
    if not self.session.login(email, password):
  File "/usr/local/lib/python2.7/dist-packages/gmusicapi/session.py", line 87, in login
    res = ClientLogin.perform(self, True, email, password)
  File "/usr/local/lib/python2.7/dist-packages/gmusicapi/protocol/shared.py", line 208, in perform
    response = session.send(req_kwargs, cls.required_auth)
  File "/usr/local/lib/python2.7/dist-packages/gmusicapi/session.py", line 59, in send
    return self._send_without_auth(req_kwargs, rsession)
  File "/usr/local/lib/python2.7/dist-packages/gmusicapi/session.py", line 30, in _send_without_auth
    res = rsession.request(**req_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 354, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 460, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 250, in send
    raise SSLError(e)

And the actual error:

requests.exceptions.SSLError: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

I've not got any problem running the this on Ubuntu 13.04 but trying to get it running on my Raspberry Pi for a side project. Unsure if there is something I've just not setup correctly?

EnigmaCurry commented 11 years ago

You probably need to install some package of root CA certificates on the pi. Not sure what that would be though.

FYI, gmusicfs doesn't do any of the connection handling, that's all done inside Unofficial Google Music API