jfarseneau / antennas

📡 DVR emulator for Plex DVR to connect to Tvheadend.
MIT License
320 stars 41 forks source link

RequestError: Error: ETIMEDOUT - cannot connect Antennas to Tvheadend #25

Closed mdriley closed 3 years ago

mdriley commented 6 years ago

Hi all,

I am trying to setup Plex DVR using antennas & Tvheadend. I have managed to get Tvheadend to operate correctly, it will stream content from my USB tuner fine and I can access using the default port: on my local IP.

Antennas pointed to the correct port on the same box.

I am using Docker on a Synology Diskstation to run antennas and the Tvheadend is running locally. I have also used Tvheadend as a docker too where I can configure correctly but never seem to make the link between antenna and tvheadend. I have the same problem with any install of a TVHProxy, none appear to connect to Tvheadend. I am really not sure where i am going wrong.

On the Antennas status page, I am getting: Status | Unable to find Tvheadend server, make sure the server is up and the configuration is pointing to the right spot URL for Tvheadend | http://user:pass@192.168.1.2:9981/ URL for Antennas | http://192.168.1.2:5004/ Tuner Count | 6

When I click the tvheadend url, it takes me to tvheadend. Not sure why antennas cannot connect...

And here is the logs from docker:

2018-06-17 06:26:44 | stdout | --> GET /antennas_config.json 200 1,586ms 343b
-- | -- | --
2018-06-17 06:26:44 | stdout | RequestError: Error: ETIMEDOUT
2018-06-17 06:26:44 | stdout | Here's a dump of the error:
2018-06-17 06:26:44 | stdout |  
2018-06-17 06:26:44 | stdout | - That your username and login are correct.
2018-06-17 06:26:44 | stdout | - Antennas is correctly pointing to Tvheadend, on the right port.
2018-06-17 06:26:44 | stdout | - Tvheadend is running.
2018-06-17 06:26:44 | stdout | Check that:
2018-06-17 06:26:44 | stdout | Antennas failed to connect to Tvheadend!
2018-06-17 06:26:44 | stdout |  
2018-06-17 06:26:42 | stdout | --> GET /images/Antennas-Logo.svg 200 36ms 3.78kb
2018-06-17 06:26:42 | stdout | --> GET /js/index.js 200 37ms 837b
2018-06-17 06:26:42 | stdout | --> GET /css/index.css 200 37ms 584b
2018-06-17 06:26:42 | stdout | --> GET /css/style.css 200 39ms 249b
2018-06-17 06:26:42 | stdout | <-- GET /images/Antennas-Logo.svg
2018-06-17 06:26:42 | stdout | <-- GET /js/index.js
2018-06-17 06:26:42 | stdout | <-- GET /css/index.css
2018-06-17 06:26:42 | stdout | <-- GET /css/style.css
2018-06-17 06:26:42 | stdout | --> GET / 200 102ms 2.97kb
2018-06-17 06:26:42 | stdout | <-- GET /antennas_config.json
2018-06-17 06:26:42 | stdout | <-- GET /
jfarseneau commented 6 years ago

@mdriley What command are you using to run Antennas?

KrishManohar commented 5 years ago

I might be little late on this but make sure you read this part on the readme file: https://github.com/TheJF/antennas#tvheadend-configuration

TVHeadEnd needs an anonymous user stream to any clients.

mycloudllc commented 5 years ago

I don't know if you have found a solution but for me using unRAID,I was able to give the antennas container a internal ip address such as 10.10.10.2. instead on the internal network provided with the docker daemon.

jfarseneau commented 3 years ago

I believe this is related to misconfiguration, so closing. Thank you to @KrishManohar and @mycloudllc for providing additional solutions to the misconfiguration.