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

Media does not play over HTTPS with self signed certificate #74

Closed
logan2611 opened this issue Apr 28, 2021 · 1 comment
Closed

Media does not play over HTTPS with self signed certificate #74

logan2611 opened this issue Apr 28, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@logan2611
Copy link

To Reproduce
Steps to reproduce the behavior:

  1. Generate a self signed SSL certificate and private key
  2. Point Jellyfin to self signed cert
  3. Change ignoreSSLErrors to true in ~/.local/share/jellyfinmediaplayer/jellyfinmediaplayer.conf
  4. Login
  5. Attempt to play anything

Expected behavior
The selected media plays

Screenshots
image

Desktop (please complete the following information):

  • OS: Arch Linux
  • Version: 1.5.0
  • Installation Method: AUR

Log

2021-04-28 15:58:58 [ DEBUG ] PlayerComponent.cpp @ 583 - ffmpeg: Opening https://<ip>:<port>/videos/<literally anything> 
2021-04-28 15:58:58 [ INFO  ] PlayerComponent.cpp @ 455 - Entering state: buffering 
2021-04-28 15:58:58 [ INFO  ] JS: Requesting url without automatic networking: https://<ip>:<port>/Sessions/Playing/Progress 
2021-04-28 15:58:58 [ ERROR ] PlayerComponent.cpp @ 589 - ffmpeg: tls: Peer certificate failed verification 
2021-04-28 15:58:58 [ ERROR ] PlayerComponent.cpp @ 589 - stream: Failed to open https://<ip>:<port>/videos/<literally anything>. 
2021-04-28 15:58:58 [ DEBUG ] PlayerComponent.cpp @ 583 - cplayer: Opening failed or was aborted: https://<ip>:<port>/videos/<literally anything> 
2021-04-28 15:58:58 [ DEBUG ] PlayerComponent.cpp @ 583 - cplayer: Running hook: ytdl_hook/on_load_fail 
2021-04-28 15:58:58 [ DEBUG ] PlayerComponent.cpp @ 583 - ytdl_hook: full hook  
2021-04-28 15:58:59 [ ERROR ] PlayerComponent.cpp @ 589 - ytdl_hook: ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1123)> (caused by URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1123)')))  
2021-04-28 15:58:59 [ ERROR ] PlayerComponent.cpp @ 589 - ytdl_hook: youtube-dl failed: unexpected error occurred  
2021-04-28 15:58:59 [ DEBUG ] PlayerComponent.cpp @ 583 - cplayer: finished playback, loading failed (reason 4) 
@logan2611 logan2611 added the bug Something isn't working label Apr 28, 2021
@iwalton3
Copy link
Member

This will be fixed in the next release...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants