Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TVMLKitErrorDomain error 3 Message

I have a TVML app working quite nicely now in the simulator. I've started with a menuBar template, and have used a stackTemplate as well as productTemplate. Everything is working just dandy in the simulator. However, when I hook my Apple TV up and try to run it on there, the application loads, but then I get the following error:

TVMLKitErrorDomain error 3

I have been trying to find out what this is for a few days , but I have not found any information pertaining to the error code. The simulator version is running on the localhost 9001 like Apple recommends and that is flawless. I just can't get the app to run properly on the device though. Does anyone know what that error is, and how I can fix it? As always I appreciate your help!

like image 904
user1516264 Avatar asked Jan 28 '16 01:01

user1516264


3 Answers

You need to run this command from the same directory as your TVMLKit JS file:

python -m SimpleHTTPServer 9001 .

like image 51
Raman Bhasker Avatar answered Sep 21 '22 06:09

Raman Bhasker


I had same error in my TV app. Solved by editing Info.plist. This error indicates that URL user trying to visit is not reachable.

You need to allow http:// from Info.plist for your app.

enter image description here

like image 23
sschunara Avatar answered Sep 21 '22 06:09

sschunara


If you are running on device, you should change this line from localhost to your IP address:

static let TVBaseURL = "http://localhost:9001/"

to

static let TVBaseURL = "http://MY.IP.ADDRESS.HERE:9001/"
like image 40
shirefriendship Avatar answered Sep 22 '22 06:09

shirefriendship