Sharing DVR Apple TV and Amazon Fire TV


#1

I have my DVR setup on my Mac-mini on my home network. Most of the time I watch from my Apple TV in my living room and have no issues. I have an Amazon Fire TV 4k in my bedroom, Channels installed and working for regular tv, but when I try to access the DVR by inputting the IP address, I get an error that a DVR Server could not be found at that address. It is not automatically discovered, all devices are on the same world network.
Any suggestions?


#2

What IP is assigned to each device?

You can Submit Diagnostics from the Player Settings tab of the FireTV app


#3

Same thing happens when I try to access DVR from the beta app on my apple tv. Here is the log from my most recent attempt:
2018-12-05 19:51:06.507 url: http://192.168.0.76:8089/status got error: Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: forbidden (403)" UserInfo={NSLocalizedDescription=Request failed: forbidden (403), NSErrorFailingURLKey=http://192.168.0.76:8089/status, com.alamofire.serialization.response.error.data=<7b226572 726f7222 3a22756e 61757468 6f72697a 65642061 63636573 73206672 6f6d2031 34362e31 36382e36 352e3133 39227d>, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x2800e9a80> { URL: http://192.168.0.76:8089/status } { Status Code: 403, Headers {
"Content-Encoding" = (
gzip
);
"Content-Length" = (
75
);
"Content-Type" = (
"application/json; charset=utf-8"
);
Date = (
"Thu, 06 Dec 2018 00:51:06 GMT"
);
Vary = (
"Accept-Encoding"
);
} }}, response: <NSHTTPURLResponse: 0x2800e9a80> { URL: http://192.168.0.76:8089/status } { Status Code: 403, Headers {
"Content-Encoding" = (
gzip
);
"Content-Length" = (
75
);
"Content-Type" = (
"application/json; charset=utf-8"
);
Date = (
"Thu, 06 Dec 2018 00:51:06 GMT"
);
Vary = (
"Accept-Encoding"
);
} }, body: {
error = "unauthorized access from 146.168.65.139";
}


#4

Do you see Channels DVR when you click http://192.168.0.76:8089 from a phone or tablet


#5

I am asked for an authorization code, but when i enter it, I get a blank page. I can see my recordings on my apple tv so I know it can be accessed


#6

Something is not quite right with your network. Please list the IPs of the Apple TV, Mac and fire tv


#7

Apple TV 192.168.0.77
Fire TV 192.168.0.62
Mac mini 192.168.0.76


#8

Here is the recent log from my attempt to access the DVR from Fire TV:

2.1.1 (191 store)
Amazon AFTN (Amazon needle)
HDHomeRun PRIME (1325C301) [channels=348, ip=192.168.0.87, auth=duVjRuqwWyc8fTjnxZUcKDpp], HDHomeRun CONNECT (1047FCA1) [channels=102, ip=192.168.0.108, auth=H3zd/mnJTn8qXR1ZAomNYOfL]
DVR http://192.168.0.76:8089 null
en_US America/New_York
SDK 7.1.2 (25) armeabi-v7a, armeabi
NET eth0 = [/192.168.0.62, /fe80::3e18:a0ff:fea5:2140%eth0]

--------- beginning of system
12-05 18:56:22.895 24551 24551 I FrameworkJumpTable: Successfully loaded all classes
12-05 18:56:22.911 24551 24551 I FrameworkJumpTable: Successfully loaded all methods
12-05 18:56:22.913 24551 24551 I FrameworkJumpTable: Successfully loaded all fields
12-05 18:56:22.913 24551 24551 I FrameworkJumpTable: Successfully loaded all constructors
--------- beginning of main
12-05 19:59:01.361 24551 24551 V MainActivity: intent: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LEANBACK_LAUNCHER] flg=0x10400000 pkg=com.getchannels.app cmp=com.getchannels.app/com.getchannels.android.MainActivity (has extras) }
12-05 19:59:01.365 24551 24551 V ChannelsApp: Lifecycle.ON_START
12-05 19:59:01.365 24551 24551 V HTTP : Requesting http://192.168.0.76:8089/status
12-05 19:59:01.374 24551 24551 V DVRSettingsFragment: onResume
12-05 19:59:01.387 24551 24588 E Volley : [8426] c.a: Unexpected response code 403 for http://192.168.0.76:8089/status
12-05 19:59:01.402 24551 24588 E Volley : [8426] c.a: Unexpected response code 403 for http://192.168.0.76:8089/status
12-05 19:59:01.409 24551 24551 V DVRClient: Status error: com.android.volley.AuthFailureError
12-05 19:59:01.409 24551 24551 V HTTP : Requesting http://192.168.0.76:8089/status
12-05 19:59:01.450 24551 24589 E Volley : [8427] c.a: Unexpected response code 403 for http://192.168.0.76:8089/status
12-05 19:59:01.476 24551 24589 E Volley : [8427] c.a: Unexpected response code 403 for http://192.168.0.76:8089/status
12-05 19:59:01.477 24551 24551 V DVR : Status error: com.android.volley.AuthFailureError
12-05 19:59:01.477 24551 24551 V DVR : Discovery started for _channels_dvr._tcp.
12-05 19:59:01.478 24551 24551 V DVR : serviceAdded: Mark’s Mac mini (_channels_dvr._tcp.local.)
12-05 19:59:01.793 24551 24621 V DVR : serviceResolved: Mark’s Mac mini = /192.168.0.76, /fe80::1c09:9c67:4c9c:23ba, /2602:306:c573:910:853:a67e:5675:6c60 (version: 2018.11.20.2224, arch: x86_64, os: darwin)
12-05 19:59:01.793 24551 24621 V DVR : Discovery stopped for _channels_dvr._tcp.
12-05 19:59:07.084 24551 24551 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
12-05 19:59:28.478 24551 24551 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
12-05 19:59:28.478 24551 24551 W IInputConnectionWrapper: setSelection on inactive InputConnection
12-05 19:59:31.308 24551 24551 V HTTP : Requesting http://92.168.0.76:8089/status
12-05 19:59:40.369 24551 24551 V DVR : Status error: com.android.volley.TimeoutError
12-05 19:59:45.708 24551 24551 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
12-05 19:59:51.070 24551 24613 D OpenGLRenderer: endAllActiveAnimators on 0xc400e600 (CardView) with handle 0xc40414f0
12-05 19:59:51.490 24551 24551 V ChannelsApp: Lifecycle.ON_STOP
12-05 19:59:55.906 24551 24578 D CRLSetManager: getInstance binder: [email protected]
12-05 20:00:10.991 24551 24551 V MainActivity: intent: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LEANBACK_LAUNCHER] flg=0x10400000 pkg=com.getchannels.app cmp=com.getchannels.app/com.getchannels.android.MainActivity (has extras) }
12-05 20:00:10.997 24551 24551 V ChannelsApp: Lifecycle.ON_START
12-05 20:00:10.998 24551 24551 V HTTP : Requesting http://192.168.0.76:8089/status
12-05 20:00:11.003 24551 24551 V DVRSettingsFragment: onResume
12-05 20:00:11.029 24551 24586 E Volley : [8424] c.a: Unexpected response code 403 for http://192.168.0.76:8089/status
12-05 20:00:11.062 24551 24586 E Volley : [8424] c.a: Unexpected response code 403 for http://192.168.0.76:8089/status
12-05 20:00:11.063 24551 24551 V DVRClient: Status error: com.android.volley.AuthFailureError
12-05 20:00:11.063 24551 24551 V HTTP : Requesting http://192.168.0.76:8089/status
12-05 20:00:11.087 24551 24588 E Volley : [8426] c.a: Unexpected response code 403 for http://192.168.0.76:8089/status
12-05 20:00:11.109 24551 24588 E Volley : [8426] c.a: Unexpected response code 403 for http://192.168.0.76:8089/status
12-05 20:00:11.110 24551 24551 V DVR : Status error: com.android.volley.AuthFailureError
12-05 20:00:11.110 24551 24551 V DVR : Discovery started for _channels_dvr._tcp.
12-05 20:00:11.110 24551 24551 V DVR : serviceAdded: Mark’s Mac mini (_channels_dvr._tcp.local.)
12-05 20:00:11.417 24551 24621 V DVR : serviceResolved: Mark’s Mac mini = /192.168.0.76, /fe80::1c09:9c67:4c9c:23ba, /2602:306:c573:910:853:a67e:5675:6c60 (version: 2018.11.20.2224, arch: x86_64, os: darwin)
12-05 20:00:11.417 24551 24621 V DVR : Discovery stopped for _channels_dvr._tcp.
12-05 20:00:13.315 24551 24551 V AboutFragment: onResume
12-05 20:00:14.840 24551 24551 V GuideFragment: onResume
12-05 20:00:16.105 24551 24551 V OnNowFragment: onResume
12-05 20:00:18.552 24551 24556 I art : Do partial code cache collection, code=43KB, data=61KB
12-05 20:00:18.553 24551 24556 I art : After code cache collection, code=43KB, data=61KB
12-05 20:00:18.553 24551 24556 I art : Increasing code cache capacity to 256KB
12-05 20:00:21.030 24551 24551 V GuideFragment: onResume
12-05 20:00:23.038 24551 24551 V TunerSettingsFragment: onResume
12-05 20:00:26.569 24551 24551 W Glide : Load failed for null with size [-2147483648x-2147483648]
12-05 20:00:26.569 24551 24551 W Glide : class com.bumptech.glide.load.engine.GlideException: Received null model
12-05 20:00:26.596 24551 24551 W Glide : Load failed for null with size [-2147483648x-2147483648]
12-05 20:00:26.596 24551 24551 W Glide : class com.bumptech.glide.load.engine.GlideException: Received null model
12-05 20:00:27.401 24551 24551 W Glide : Load failed for null with size [-2147483648x-2147483648]
12-05 20:00:27.401 24551 24551 W Glide : class com.bumptech.glide.load.engine.GlideException: Received null model
12-05 20:00:27.405 24551 24551 W Glide : Load failed for null with size [-2147483648x-2147483648]
12-05 20:00:27.405 24551 24551 W Glide : class com.bumptech.glide.load.engine.GlideException: Received null model
12-05 20:00:27.409 24551 24551 W Glide : Load failed for null with size [-2147483648x-2147483648]
12-05 20:00:27.409 24551 24551 W Glide : class com.bumptech.glide.load.engine.GlideException: Received null model
12-05 20:00:27.412 24551 24551 W Glide : Load failed for null with size [-2147483648x-2147483648]
12-05 20:00:27.412 24551 24551 W Glide : class com.bumptech.glide.load.engine.GlideException: Received null model
12-05 20:00:27.416 24551 24551 W Glide : Load failed for null with size [-2147483648x-2147483648]
12-05 20:00:27.416 24551 24551 W Glide : class com.bumptech.glide.load.engine.GlideException: Received null model
12-05 20:00:27.428 24551 24551 W Glide : Load failed for null with size [-2147483648x-2147483648]
12-05 20:00:27.428 24551 24551 W Glide : class com.bumptech.glide.load.engine.GlideException: Received null model
12-05 20:00:27.439 24551 24551 W Glide : Load failed for null with size [-2147483648x-2147483648]
12-05 20:00:27.439 24551 24551 W Glide : class com.bumptech.glide.load.engine.GlideException: Received null model
12-05 20:00:30.952 24551 24551 W Glide : Load failed for null with size [-2147483648x-2147483648]
12-05 20:00:30.952 24551 24551 W Glide : class com.bumptech.glide.load.engine.GlideException: Received null model
12-05 20:00:30.954 24551 24551 W Glide : Load failed for null with size [-2147483648x-2147483648]
12-05 20:00:30.954 24551 24551 W Glide : class com.bumptech.glide.load.engine.GlideException: Received null model
12-05 20:00:30.956 24551 24551 W Glide : Load failed for null with size [-2147483648x-2147483648]
12-05 20:00:30.956 24551 24551 W Glide : class com.bumptech.glide.load.engine.GlideException: Received null model
12-05 20:00:30.958 24551 24551 W Glide : Load failed for null with size [-2147483648x-2147483648]
12-05 20:00:30.958 24551 24551 W Glide : class com.bumptech.glide.load.engine.GlideException: Received null model
12-05 20:00:30.960 24551 24551 W Glide : Load failed for null with size [-2147483648x-2147483648]
12-05 20:00:30.960 24551 24551 W Glide : class com.bumptech.glide.load.engine.GlideException: Received null model
12-05 20:00:30.970 24551 24551 W Glide : Load failed for null with size [-2147483648x-2147483648]
12-05 20:00:30.970 24551 24551 W Glide : class com.bumptech.glide.load.engine.GlideException: Received null model
12-05 20:00:30.979 24551 24551 W Glide : Load failed for null with size [-2147483648x-2147483648]
12-05 20:00:30.979 24551 24551 W Glide : class com.bumptech.glide.load.engine.GlideException: Received null model
12-05 20:00:31.206 24551 24551 W Glide : Load failed for null with size [-2147483648x-2147483648]
12-05 20:00:31.206 24551 24551 W Glide : class com.bumptech.glide.load.engine.GlideException: Received null model
12-05 20:00:33.711 24551 24551 V PlayerSettingsFragment: onResume
12-05 20:00:34.377 24551 24551 V DVRSettingsFragment: onResume
12-05 20:00:35.052 24551 24551 V AboutFragment: onResume
12-05 20:01:01.561 24551 24578 D CRLSetManager: getInstance binder: [email protected]
12-05 20:01:52.446 24551 28193 V ApiServer: REQUEST: GET /log


#9

The apps are getting a 403 and you're seeing an authorization form, because the DVR thinks the requests are coming from outside your network. Inside the network there is no authentication.

Check the Log tab of the DVR web UI on your Mac.


#10

It seems like your internal network traffic is going out the internet and back to reach your mini?


#11

I saw that, and did not understand why I saw that ip. Looked it up and it is indeed my service provider address range. I will check my log file


#12

How is your network wired together?


#13

Here is what i found in the DVR log file that may shed some light, this was after a reboot to update my OS:

2018/12/05 09:52:22 [DVR] Waiting 10h7m7.27832s until next job 1544057970-9 Survivor
2018/12/05 09:52:25 [DVR] Waiting 10h7m4.57107s until next job 1544057970-9 Survivor
2018/12/05 17:01:42 http: TLS handshake error from 71.6.167.142:57420: tls: client offered an unsupported, maximum protocol version of 300
2018/12/05 17:01:52 http: TLS handshake error from 71.6.167.142:38406: tls: no cipher suite supported by both client and server
2018/12/05 17:01:52 http: TLS handshake error from 71.6.167.142:38772: tls: no cipher suite supported by both client and server
2018/12/05 17:32:31 [TNR] Opened connection to 1325C301 for ch846
2018/12/05 17:32:32 [HLS] Starting transcoder for channel 846 from 146.168.65.139 (encoder=libx264, resolution=720, deinterlacer=linear, bitrate=4000)
[ac3 @ 0x7fe5ee83ba00] frame sync error
Error while decoding stream #0:0: Invalid data found when processing input
[aac @ 0x7fe5ee840000] Queue input is backward in time
[hls @ 0x7fe5ee83cc00] Non-monotonous DTS in output stream 0:1; previous: 4800, current: 3840; changing to 4801. This may result in incorrect timestamps in the output file.
2018/12/05 18:50:52 [SYS] Created database snapshot: backup-20181205.185052
2018/12/05 18:50:52 [SYS] Removing old backup backup-20181106.014554
2018/12/05 19:10:03 [HLS] Stopping transcoder session ch846-dANY-d5f106c13099 @ 1h37m29.677166s
2018/12/05 19:10:03 [TNR] Closed connection to 1325C301 for ch846
[mpegts @ 0x7fe5ee801a00] 2018/12/05 19:14:05 [SYS] Bonjour service stopped.
2018/12/05 19:14:09 [SYS] Bonjour service registered with Marks-Mac-mini.the-beach.net
2018/12/05 19:44:19 [SYS] Starting Channels DVR v2018.11.20.2224 (darwin-x86_64 pid:446) in /Users/markmcpadden/channels-dvr/data
2018/12/05 19:44:20 [HDR] Found 2 devices
2018/12/05 19:44:26 [SYS] Started HTTP Server
2018/12/05 19:45:40 [DVR] Recording engine started in /Volumes/LaCie/DVR
2018/12/05 19:45:40 [DVR] Waiting 13m49.159498s until next job 1544057970-9 Survivor


#14

Found this under "activity" in the DVR on mac mini:

Watching recording Survivor S37E12 2018-12-05 So Smart Theyre Dumb 2018-12-05-1959.mpg from 146.168.65.139 (Running: 44m29.6704s @ 2.13x).


#15

thought this posted:
network is arris modem/router/wifi. connected to two switches one in living room and one in bedroom. Mac mini, apple tv and fire tv are all wired connections.


#16

Which switch is the Mac on ?


#17

direct to arris modem, there are 4 ports


#18

You could try another port or check the router settings to make sure nothing weird like DMZ is enabled


#19

Just did that, and I did check for any weird settings on the modem. I am able to connect using my phone to connect to dvr


#20

Can you plug the Mac into a switch instead?