Hi everyone,
I recently purchased an HDHomeRun Flex Duo. I deployed a Docker container and I was able to add the HDHR as a source no problem.
However, when I attempt to record (or just watch a live stream), I am unable to do so and get the following errors:
[ERR] Failed to start stream on channel 26.2 via : HDHomeRun: Could not tune to http://10.32.5.11:5004/auto/v26.2 after 30s
[DVR] Error running job 1633050000-ch26.2 Jericho of Scotland Yard: could not start stream on channels=[26.2]: HDHomeRun: Could not tune to http://10.32.5.11:5004/auto/v26.2 after 30s
Troubleshooting Attempts
The thing is though is that Channels DVR is successfully controlling the tuner. I see that tuner set to that channel and that URL does in fact display the video stream if I run it locally in VLC media player.
Additionally, I'm able to ping the HDHR from inside the Channel DVR container console and even traceroute it.
If I check the HDHR logs I see the connection being established back to the Docker host:
20211001-02:09:06 Tuner: tuner0 tuning 26.2
20211001-02:09:06 Tuner: tuner0 streaming http to 10.0.40.3:38106
20211001-02:09:36 Tuner: tuner0 http stream ended (remote closed)
20211001-02:09:37 Tuner: tuner0 tuning 26.2
20211001-02:09:37 Tuner: tuner0 streaming http to 10.0.40.3:38108
On top of that, if I check the router logs/states, I see an established tcp connection between the Docker host and the HDHR.
From the above HDHR log and the Channel DVR log, it appears that Channel DVR is the one initiating closing the connection.
Questions
-
If I run the container network in host mode as opposed to my preferred bridge mode, everything works. This is not my ideal solution, however, since this Docker container is running on a core server and I don't want to give it that kind of access. Any idea why it would work when running in host mode and not bridge mode? I don't see why it should matter since it does appear we are establishing a connection even in bridge mode.
-
Is there any way to get this working in bridge mode?
Thanks in advance!