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

Issue Jellyfin reverse proxy - transcode while not necessary #868

Closed
Oyo95 opened this issue May 9, 2021 · 2 comments
Closed

Issue Jellyfin reverse proxy - transcode while not necessary #868

Oyo95 opened this issue May 9, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@Oyo95
Copy link

Oyo95 commented May 9, 2021

Describe the bug
Hello,

I just installed Jellyfin on my Synology 920+ (Docker, on macvlan), locally everything works fine on port 8096.

I wanted to create a reverse proxy to switch to HTTPS but I encountered some problems:
- If I go through the reverse proxy of the DSM, the video cuts out after a few minutes, the web socket cuts out for no reason. log reverseproxy dsm.txt

  • If I go through a reverse proxy Nginx in docker (through on macvlan), It works for IOS and in web but not on Android.
    I have a problem with Jellyfin on Android and Android TV. I can't log into the apps.
    Error message: "Connection could not be established. Check the host name and your network connection. "

The certificate was generated via the DSM / certificate / Let's encrypt
certificat

My dockerfile :
jellyfin.yml.txt

macvlan created in Portainer:
macvlan

My nginx.conf :
jellyfin_nginx.conf.txt

My setup on Jellyfin :
Jellyfin_Network1
Jellyfin_Network2
Jellyfin_Network3
Jellyfin_Network4

To Reproduce

  1. Go to 'Jellyfin app on android or Android TV'
  2. Click on 'Change server'
  3. enter your URL HTTPS
  4. Error : "Connection could not be established. Check the host name and your network connection. "

System (please complete the following information):

Device Manufacturer: Nvidia
Device model: Nvidia shield TV pro 2019
App version: 2.2.3
Android version: 9
Kernel version: 8.2.2 (software version) (or 4.9.140 if is core version)
Jellyfin server version: 10.7.5
The type of video player implementation used: Native Android App

Device Manufacturer: BLUESTACK
Device model: Bluestack
Bluestack 4.280.1.1002
device profile: samsung galaxy s20 ultra
App version: 0.11.5
Android version: ?
The type of video player implementation used: Native Android App
Jellyfin server version: 10.7.5

Device Manufacturer: Huawei
Device model: Huawei P10
App version: 2.2.3
Android version: 9
Kernel version: 9.1.0 (software version EMUI) (or 4.9.148 if is core version)
Jellyfin server version: 10.7.5
The type of video player implementation used: Native Android App

many thanks for your help

@Oyo95 Oyo95 added the bug Something isn't working label May 9, 2021
@Oyo95
Copy link
Author

Oyo95 commented May 10, 2021

Hi,

problem solved, there was an error in the nginx conf file:

  ssl_certificate /etc/nginx/certificat/fullchain.pem; --> before, it was cert.pem
  ssl_certificate_key /etc/nginx/certificat/privkey.pem;
  ssl_trusted_certificate /etc/nginx/certificat/chain.pem;

But with Android TV (on NVIDIA Shield TV), I have an other issue. the video cuts out after a few minutes, the web socket cuts out for no reason (only for H265 codec video). it seems that it transcodes when there is no need.
With Exoplayer --> play with Transcodage without tone mappage --> Ok but transcodage not necessary
With LibVLC --> Play directly but the video cuts out after a few minutes

Locally (via the ip: 8096), the video plays to the end without any problem.

Is it normally ?

I could only reproduce this error with Android TV (by the Nvidia Shield TV or Xgimi HALO)

Here the log file to reverse proxy :
jelly_access.log
jelly_error.log

Here, le Jellyfin logs:
log_20210510.log

Device Manufacturer: Nvidia
Device model: Nvidia shield TV pro 2019
App version: 2.2.3
Android version: 9
Kernel version: 8.2.2 (software version) (or 4.9.140 if is core version)
Jellyfin server version: 10.7.5
The type of video player implementation used: Native Android App

@Oyo95 Oyo95 changed the title Issue about Jellyfin in HTTPS - Synology - Docker - Reverse Proxy Issue Jellyfin reverse proxy - transcode while not necessary May 11, 2021
@Oyo95
Copy link
Author

Oyo95 commented May 16, 2021

Nobody can help me? is this a bug or a bad configuration on my part ?

@Oyo95 Oyo95 closed this as completed Jun 13, 2021
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

1 participant