DemoNIck 1 Posted December 22, 2024 Posted December 22, 2024 I am currently running an emby server (v 4.8.10.0) on a FreeBSD 14.2-RELEASE. The emby server runs inside a thick jail and operates as expected. While being in my LAN, I can connect to the server through my firefox browser and stream media content. Also my TV can connect to the server and stream content etc. The problem I am facing is I am unable to stream content from REMOTE locations. Although I can connect remotely to the web interface of the emby server, when I select to stream a media file, I got the following error message: "No compatible streams are currently available. Please try again later or contact your system administrator for details." A short intro regarding my setup and network topology: there is a pfSense firewall/router, NOT in bridged mode with my ISP's modem. That means that my WAN interface has a different IP from my actual external/public IP. Nevertheless, with proper NAT, my internal services, accessed from outside, work as expected. My external/public IP is dynamic, but I host a private domain in FreeDSN (DDNS) - let's assume that this domain is domain.com The FreeBSD server hosts several services, running inside thick jails. In our case scenario we are interested in just two of them. nginx jail: nginx server as a web server for www.domain.com. It also serves the domain tv.domain.com which actually acts as a reverse proxy for my internal emby server. All certificates for all the domains are issued from Let'sEncrypt, are valid and working as expected. emby jail: the actual emby server. So with this setup, from a remote location, outside my LAN, i can point to https://tv.domain.com and my browser goes to my actual emby server. I can login, browse my media content, edit setting of the emby server, but I cannot stream content. My current setup, regarding the network settings of the emby server is: Local http port number 8096 Local https port number 8920 Allow remote connections to this Emby Server [YES] Public http port number 8096 Public https port number 8920 External domain tv.domain.com Read proxy headers to determine client IP addresses [YES] Secure connection mode [Handled by reverse proxy] Enable automatic port mapping [NO] At my current configuration, due to the fact that I have: Enable automatic port mapping [NO], I have not enabled the UpNP & NAT-PMP service on my pfSense firewall. Nevertheless, in the past, I tried to Enable automatic port mapping on emby server and enabled the UpNP & NAT-PMP service on my pfSense firewall, run several tests but still kept receiving the same error message and was unable to stream any media file. embyserver.txt ffmpeg-directstream-c8c7f62d-3572-4c3a-91ce-823dcfbef385_1.txt ffmpeg-transcode-034e47de-9407-4fc5-9abc-0e0e0a03c4ea_1.txt
DemoNIck 1 Posted December 22, 2024 Author Posted December 22, 2024 via the official pkg manager of FreeBSD.
Luke 42077 Posted December 22, 2024 Posted December 22, 2024 1 hour ago, DemoNIck said: via the official pkg manager of FreeBSD. What was the process to install?
DemoNIck 1 Posted December 23, 2024 Author Posted December 23, 2024 pkg install emby-server the dependencies of the package are # pkg info -dx emby-server emby-server-4.8.10.0_2: pango-1.52.2_1 fontconfig-2.15.0_3,1 krb5-1.21.3 gnutls-3.8.8 freetype2-2.13.3 x265-3.6 libx264-0.164.3095 libvpx-1.15.0 libva-2.22.0 libtheora-1.1.1_7 libass-0.17.3 intel-media-sdk-22.5.4 dav1d-1.5.0 aribb24-1.0.4 dotnet-9.0.0_2 webp-1.4.0_1 tiff-4.7.0 tesseract-5.5.0 png-1.6.44 openjpeg-2.5.2_1 openexr-3.3.2 libraw-0.21.3 libjxl-0.11.1_1 libimagequant-4.3.3_4 libheif-1.19.5 libexif-0.6.24 libdrm-2.4.123,1 ImageMagick6-6.9.12.77_10,1 orc-0.4.40 ocl-icd-2.3.2 libzvbi-0.2.35_4 libunwind-20240221_1 libinotify-20240724 icu-74.2_1,1 sqlite3-3.46.1,1 fribidi-1.0.16 opus-1.5.2 libvorbis-1.3.7_2,3 libogg-1.3.5,4 lame-3.100_5 chromaprint-1.5.1.20221217_1
DemoNIck 1 Posted December 23, 2024 Author Posted December 23, 2024 It is fixed. Apparently it was obviously my mistake. I have forgotten an include statement in my nginx configuration file, regarding php-fpm and some redirects and cache mechanisms, which were completely irrelevant with the current emby server setup. Thank you for your support and sorry for any inconvenience. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now