SmplyUnprdctble 9 Posted May 18 Posted May 18 This is a weird one, I think? I have Emby set up in my home with my HDHomeRun for live TV. Everything works beautifully. My sister lives in an area where an antenna doesn't get great signal (something-something-mountain). We have a site-to-site VPN between our houses on our Synology routers (because I'm her tech support), so I decided to set her up an Emby server and connect my HDHomeRun. I have memories years ago of it working (we know memory is fuzzy, so I accept that the statement isn't trusted). I was recently told she tried to watch local channels and it just spun. I finally had a chance to get to her place and look at things. And, alas, it just spins when I tune into a HDHomeRun channel. My setup (which works): ProxMox 9.1.9 server with a Debian 13.4 VM Passthru NVIDIA 3050 Emby Server 4.9.3.0 running via Docker Emby Premiere HDHomeRun CONNECT 4K My sister's setup ProxMox 9.1.9 server with a Debian 13.4 VM Passthru NVIDIA 3050 Emby Server 4.9.3.0 running via Docker Emby Premiere Attempt to connect to my HDHomeRun through a site-to-site VPN (failed) I'm in her house and I can connect to my home Emby using http://<myLANIP>:8096 from my laptop and I can successfully play my HDHomeRun channels. However, when I try to play the same channel from her Emby server, it spins and fails. My HDHomeRun status page shows a tuner connected to that channel. I thought there might have been some corrupt configuration in her setup, so I spun up a fresh Emby Docker container with the same result. Initially, all attempts to play were on her Roku TV, but I have since gone to testing things on my laptop with the same results. Here's what I've tested: Browser on my network HDHomeRun through my Emby server works HDHomeRun through my sister's Emby server does not work Playing channels from my HDHomeRUn via Media Player Classic works Playing .m3u channels (ersatztv) from my home network to my sister's Emby server works Browser on my sister's network HDHomeRun through my Emby server works HDHomeRun through my sister's Emby server does not work Playing channels from my HDHomeRun via Media Player Classic works (same laptop as above) Playing .m3u channels (ersatztv) from my home network to my sister's Emby server works Do you have any ideas why HDHomeRun isn't working with only my sister's Emby? embyserver (1).txt hardware_detection-63914662121.txt
speechles 2086 Posted May 18 Posted May 18 Quote 2026-05-18 00:51:24.283 Info HttpClient: GET http://host4:5004/x_path1_x/x_path2_x 2026-05-18 00:52:24.288 Error HttpClient: Connection to http://host4:5004/x_path1_x/x_path2_x timed out 2026-05-18 00:52:24.293 Error LiveTV: Error in GetChannelStreamWithDirectStreamProvider *** Error Report *** Version: 4.9.3.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Linux version 6.12.88+deb13-amd64 (debian-kernel@lists.debian.org) (x86_64-linux-gnu-gcc-14 (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian OS/Process: x64/x64 Framework: .NET 8.0.22 Runtime: system/System.Private.CoreLib.dll Processor count: 4 Data path: /config Application path: /system MediaBrowser.Common.Extensions.RemoteServiceUnavailableException: MediaBrowser.Common.Extensions.RemoteServiceUnavailableException: Exception of type 'MediaBrowser.Common.Extensions.RemoteServiceUnavailableException' was thrown. at Emby.LiveTV.TunerHosts.SharedHttpPipelineSource.OpenStream(IDisposable connectionContext, MediaSourceInfo mediaSource, String url, MediaProtocol protocol, CancellationToken cancellationToken, Int32 recursion) at Emby.LiveTV.TunerHosts.SharedHttpPipelineSource.OpenInternal(CancellationToken openCancellationToken) at Emby.LiveTV.TunerHosts.LiveStream.Open(CancellationToken openCancellationToken) at MediaBrowser.Controller.LiveTv.BaseTunerHost.GetChannelStream(TunerHostInfo tuner, BaseItem dbChannnel, String tunerChannelId, String mediaSourceId, List`1 currentLiveStreams, CancellationToken cancellationToken) at Emby.LiveTV.EmbyTV.GetChannelStreamWithDirectStreamProvider(BaseItem dbChannel, String providerChannelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken) Source: Emby.LiveTV TargetSite: Void MoveNext() 2026-05-18 00:52:24.294 Error MediaSourceManager: Error opening live stream *** Error Report *** Version: 4.9.3.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Linux version 6.12.88+deb13-amd64 (debian-kernel@lists.debian.org) (x86_64-linux-gnu-gcc-14 (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian OS/Process: x64/x64 Framework: .NET 8.0.22 Runtime: system/System.Private.CoreLib.dll Processor count: 4 Data path: /config Application path: /system MediaBrowser.Common.Extensions.RemoteServiceUnavailableException: MediaBrowser.Common.Extensions.RemoteServiceUnavailableException: Exception of type 'MediaBrowser.Common.Extensions.RemoteServiceUnavailableException' was thrown. at Emby.LiveTV.EmbyTV.GetChannelStreamWithDirectStreamProvider(BaseItem dbChannel, String providerChannelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken) at Emby.LiveTV.LiveTvManager.GetChannelStream(String id, String mediaSourceId, List`1 currentLiveStreams, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal2(LiveStreamRequest request, CancellationToken cancellationToken) Source: Emby.LiveTV TargetSite: Void MoveNext() 2026-05-18 00:52:24.298 Error MediaInfoService-0HNLKESQ7V2DS:00000028: Error processing request *** Error Report *** Version: 4.9.3.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Linux version 6.12.88+deb13-amd64 (debian-kernel@lists.debian.org) (x86_64-linux-gnu-gcc-14 (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian OS/Process: x64/x64 Framework: .NET 8.0.22 Runtime: system/System.Private.CoreLib.dll Processor count: 4 Data path: /config Application path: /system MediaBrowser.Common.Extensions.RemoteServiceUnavailableException: MediaBrowser.Common.Extensions.RemoteServiceUnavailableException: Exception of type 'MediaBrowser.Common.Extensions.RemoteServiceUnavailableException' was thrown. at Emby.LiveTV.EmbyTV.GetChannelStreamWithDirectStreamProvider(BaseItem dbChannel, String providerChannelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken) at Emby.LiveTV.LiveTvManager.GetChannelStream(String id, String mediaSourceId, List`1 currentLiveStreams, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal2(LiveStreamRequest request, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal2(LiveStreamRequest request, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal(LiveStreamRequest request, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStream(LiveStreamRequest request, CancellationToken cancellationToken) at Emby.Server.MediaEncoding.Api.MediaInfoService.OpenMediaSource(OpenMediaSource request, CancellationToken cancellationToken) at Emby.Server.MediaEncoding.Api.MediaInfoService.GetPlaybackInfo(GetPostedPlaybackInfo request, Boolean allowMediaProbe, String newPlaySessionId, CancellationToken cancellationToken) at Emby.Server.MediaEncoding.Api.MediaInfoService.Post(GetPostedPlaybackInfo request) at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, RestPath restPath, String urlString, String localPath, String contentTypeInPath, CancellationToken cancellationToken) Source: Emby.LiveTV TargetSite: Void MoveNext() 2026-05-18 00:52:24.298 Info MediaInfoService-0HNLKESQ7V2DS:00000028: http/1.1 Response 502 to host2. Time: 60141ms. POST http://host1:8097/emby/Items/4/PlaybackInfo?UserId=x_secret4_x&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=200000000&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=1eab3749-174d-4505-a5c8-ea4d6ffa569c&X-Emby-Client-Version=4.9.3.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json. You got a 502. An HTTP 502 (Bad Gateway) error means an intermediary server (like a proxy, load balancer, or CDN) received an invalid response from the origin/upstream server. Your request reached the gateway, but the gateway couldn't connect to the actual website server. 1
SmplyUnprdctble 9 Posted May 18 Author Posted May 18 Thanks @speechles! That was super helpful (and I don't know why I didn't fully notice that). New info: From my sister's network's Emby Docker container, I can successfully wget http://<hdhomerunip> (port 80 implied) From my sister's network's Emby Docker container, I CANNOT wget http://<hdhomerunip>:5004 (different network, crossing vpn) Form my home network's Emby Docker container, I CAN successfully wget http://<hdhomerunip>:5004 (same network) From my sister's Docker Host VM, I can successfully wget http://<hdhomerunip>:5004 If I change the Emby Docker container to use "network_mode=host", I CAN successfully wget http://<hdhomerunip>:5004 That's leading me to believe either something is set up awry in the Emby Docker Container related to firewall, or there's something funky set up in Docker related to similar. Basically, Docker. For now, I'll set her stuff up in host network mode and hope it doesn't affect any other containers on her VM, until I can figure out if it's a Docker setting or what. Thanks again for your help!
Luke 42556 Posted May 19 Posted May 19 On 5/18/2026 at 12:25 PM, SmplyUnprdctble said: That's leading me to believe either something is set up awry in the Emby Docker Container related to firewall, or there's something funky set up in Docker related to similar. Basically, Docker. No it's actually the HDHR throwing the error. Can you try rebooting the tuner and see if that helps?
SmplyUnprdctble 9 Posted May 20 Author Posted May 20 6 minutes ago, Luke said: No it's actually the HDHR throwing the error. Can you try rebooting the tuner and see if that helps? Rebooting the tuner didn't do anything. As I said earlier, it looks like it's either some firewall-type configuration in Docker or a configuration of the Container. When I set the Network Mode to "host" (which appears to be the default setting for DNLA and Wake on Lan settings, according to the comments in the Docker Compose [e.g. two features I don't use])., everything works. When I remove the Network Mode configuration and just use port mapping (which just maps into the container, not outwards), it doesn't work. I've decided to just run the container with Network Mode as host until I either figure out what's going odd with it, or it causes another conflict. I doubt the conflict will happen, since I limit the services on the Emby VM. 1
Luke 42556 Posted May 26 Posted May 26 Quote When I set the Network Mode to "host" Yea this is the simplest thing to do. When you use bridge mode it will probably require many other things to be configured as well.
SmplyUnprdctble 9 Posted May 26 Author Posted May 26 That's my plan. I think there's something odd with Docker networking (I'm now experiencing an oddity in another container on a different machine) that's well outside the scope of this forum. If I ever figure it out, I'll post a follow-up. Until then, we can consider this closed. 1
TMCsw 275 Posted May 26 Posted May 26 I believe the HDHR are set for a limited number of hops, getting to your sisters place probably exceeds that. I think that can be changed check out the HDHR forums...
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