Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot play any titles: GStreamer reports "Secure connection setup failed" #21

Open
Natanji opened this issue Dec 12, 2017 · 2 comments

Comments

@Natanji
Copy link

Natanji commented Dec 12, 2017

As the title says. I'm trying to connect to a Subsonic instance running the most up to date Subsonic 6.1.3. I can access the list of titles in Album/Artist/Directory view just fine, but no title will play. Whenever I try to play a title, an error is printed to the mopidy log: "ERROR GStreamer error: gst-resource-error-quark: Secure connection setup failed. (5)"

I'm using legacy auth because the server's authentication is LDAP connected, which doesn't support other auth modes. I've tried with both the default-configured API version 1.14.0 as well as the more recent supported API version 1.16.0 of the server version according to this table. The GStreamer plugins are all installed and up to date (running Arch Linux).

@jonathanchristison
Copy link

I had the same issue and seems to be to do with gstreamer httpsoup not accepting the self signed SSL cert. You basically have three potential options

  • Use letsencrypt and have a valid cert to an external domain
  • Use http only and disable ssl
  • Fix the self signed cert and add it to your systems CA bundle (for mine the ssl cert had the domain subsonic.org which was obviously incorrect for the URI accessed by gstreamer)

I went with option 1 and generated a letsencrypt cert, heres how i put it into subsonic http://www.richgrundy.com/blog/setting-up-ssl-cert-for-subsonic/

certbot will spit out a pk12 combined file so you just need to feed that in and then depending on how you run subsonic point to the java keystore created

@Prior99
Copy link
Owner

Prior99 commented Sep 11, 2018

@Natanji can this issue be closed? I think this is more of a setup-related problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants