Tuner Not Available Error on tvOS

Yes both AppleTV’s on same subnet as DVR server. 192.168.7

All other iOS clients on same subnet but have access to TVE streams no problem.

Was not able to connect to appletv from computer using url above.

Can you enable http logging on the DVR server and see what appears when the tv tries to tune a channel.

1 Like

When I try to tune with appletv I get this.

[GIN] 2020/03/14 - 14:14:27 | 200 | 16.640632611s |   192.168.7.227 | GET      /devices/TVE-ATTOTT/channels/6050/stream.mpg?codec=copy
[GIN] 2020/03/14 - 14:14:46 | 403 |      27.924µs |    73.54.202.57 | GET      /devices/TVE-ATTOTT/channels/6050/stream.mpg?codec=copy

When I tune with iPhone I get this

2020/03/14 14:16:42.712840 [TNR] Opened connection to TVE-ATTOTT for ch6050 MSNBC
2020/03/14 14:16:48.620417 [TNR] Closed connection to TVE-ATTOTT for ch6050 MSNBC
[GIN] 2020/03/14 - 14:16:48 | 200 |  6.430337977s |   192.168.7.227 | GET      /devices/TVE-ATTOTT/channels/6050/stream.mpg?codec=copy

Looks like a routing issue on your network. The DVR is not seeing the 192.x address as the source, and thus rejects the request because its not from a local network.

While I have not tested this theory yet. But I think it might be related to secure HomeKit router.

The DVR, iPad and iPhone clients do not have issues with TVE channels. It is just my two AppleTV’s which are home hubs and therefor they have restrictions on access to the internet. This might explain why only these two devices behave differently.

I have not tried this because of the nasty warning message about removing and re-adding HomeKit devices across the whole house.

Unfortunately, I cannot see the access settings for these AppleTV’s for some reason. The choices are:

Restricted - only local network access
Auto - determines which connection it lets out
Unrestricted- free reign.

One of my AppleTV’s worked for a few hours without me doing anything. This is all very strange.

Is anyone else running Secure HomeKit router and want to chime in?

The latest tvOS beta should fix this issue:

https://community.getchannels.com/t/channels-4-0-beta/22082/172

Please let me know if it makes a difference.

It appears to have fixed the problem. I tested on both AppleTVs this morning.

One AppleTV was working with both the prod and beta versions of the app.

The other AppleTV was not working with the prod version. But the beta version seems to work just fine. I will keep testing today and follow up with results. Thanks for your efforts. And let me know if you need any diagnostics.

1 Like

I have submitted diagnostics for both prod and beta versions. It is now happening with iPhones and iPads.

I changed the server to disable WiFi and just use Ethernet. I restarted the channels server process (not server reboot) after that change.

Are you running a VPN on your iOS devices?

There is something very very odd going on with your network. Both your iPhone and DVR are on the same private network, but the IP that the DVR is seeing you come from is a public IP. This shouldn't be possible for a situation where you are all on the same local network, so something in getting between the devices and making your phone reach the DVR via a public internet address.

No. I have eero mesh network. No special VPNs running on network.

1 Like

Please update to the latest DVR pre-release v2020.03.22.0232 and then run the following command to send me the DVR logs and other data from the DVR:

curl -X POST http://[DVR-IP]:8089/diagnostics

It may take a minute or two to complete. When it's done let me know and I'll see if there's anything useful I can find.

Here are the results in the log

2020/03/22 06:44:28.239935 http: TLS handshake error from 73.54.202.57:58820: EOF
2020/03/22 06:45:15.846127 [TRS] DNS: OK: Resolved host via system DNS
2020/03/22 06:45:15.913784 [TRS] Cloudflare DNS: OK: Resolved host via 1.1.1.1
2020/03/22 06:45:16.388073 [TRS] Cloud Reachable: OK: Connected to community.getchannels.com
2020/03/22 06:45:16.494243 [TRS] Local Time: OK: Local clock is accurate
2020/03/22 06:45:16.882965 [TRS] Remote Access: OK: Successfully established external connection
2020/03/22 06:45:16.896768 [TRS] Disk Permissions: OK
2020/03/22 06:45:16.896888 [TRS] System Firewall: OK
2020/03/22 06:45:16.993749 [TRS] Third Party Firewall: OK
2020/03/22 06:45:17.089428 [TRS] Little Snitch: OK
2020/03/22 06:45:17.089549 [TRS] Sleep: OK
2020/03/22 06:45:33.040955 New diagnostic log submitted under 3a0d32e3-48ea-4bd1-a19a-1e18d0cb02ce

I don’t see anything obviously unusual in the diagnostics. I think we’re at the point where you start posting photos of all of your network devices and describe your setup in detail and give us screenshots of the configuration of all of your network equipment.

Who do you get your internet from? Do they provide a box? Do you have a switch? Do you have anything other than your Eero? What cables are plugged into what?

Internet ---- Cable Modem ---- Erro Pro ---- Switch --- DVR Server
                                   |            |
                                   |            - HD Homeruns
                                   |
                                   - WIFI to DVR Clients and other Eero Pros.

There have been issues in the past with some Wifi routers defaulting to a private/separate network/subnet for wireless clients; this partitioning can cause issues, especially with tuners. Furthermore, mesh routers (Eero, Google Home, Plume) seem to introduce additional network traffic that has been known to introduce problems, too.

You may want to double-check your router's network settings, and make sure they match your expected behavior.

I am only having problems with TVE. My OTA tuners work just fine.

The problem would happen on OTA too if you enabled Tuner Sharing. It's streaming through the DVR that's broken, since it isn't connecting to the DVR via the internal network.

I'd say you should try rebooting all the networking equipment since the routing table somewhere is out of whack.

I did a network reboot yesterday. I do have turner sharing enabled.

Local Network
DVR records TVE just fine. Can watch TVE on DVR machine from Web Interface. Can watch TVE on mobile safari. Can watch OTA from iOS/tvOS client or web ui.

Cellular Network
Can watch TVE on mobile safari. Can watch from iOS client. Can watch OTA from client or web ui.

Local Network
cannot watch TVE from iOS or tvOS clients. I submitted additional logs from today for tvOS.

This seems weird to me. I only have the ethernet port active. WiFi is turned off but I see this under the bonjour section. Is this normal?

'*Advertising Mac-mini.local via 4 networks: [192.168.7.219, 169.254.158.106, 169.254.204.146]*

1 Like

You can check http://x:8089/system/network to see where the other IPs are coming from. But that's generally normal since the bonjour service on macOS is network-aware and only responds with the correct IP depending on the interface used.