Reputation: 3890
I've followed everything here step by step : App Testing on webOS TV
But I still can't seem to connect using either the webOS CLI or the webOS IDE.
I get the following error:
Via the IDE : Could not connect to the device "name", please check the device connection.
Via webOs CLI : ares-install ERR! ares-install: Error: Please check the device IP address or port.
I see the device listed : ares-setup-device --list
emulator [email protected]:6622 ssh tv lgtv_
[email protected]:9922 ssh tv
I am able to ping the device IP through command line.
Installing and running an app via webOS CLI on the emulator works fine, it just won't work when it comes to the actual device.
Any ideas ?
Upvotes: 4
Views: 21691
Reputation: 913
My issue was that I had added two TVs and I failed in the command line to pass the device name using the -d
flag. This made the tool connect to the wrong TV at the wrong IP.
Correct example:
ares-install my-app.ipk -d 'name-of-tv'
Upvotes: 0
Reputation: 9
I've fixed it by turning on Key Server on TV(devMode app) adding SSH key on Target Device
Upvotes: 0
Reputation: 1336
Make sure you've completed the key exchange steps before trying to install. You'll need to turn "Key Server" on in the device "Developer Mode" app as well as "Dev Mode Status".
After adding the device with ares-setup-device
you want to run
ares-novacom --device YOUR_DEVICE_NAME --getkey
and enter the passphrase shown on the device.
You should then be able to use ares-install
.
Source: http://webostv.developer.lge.com/develop/app-test/
Upvotes: 7
Reputation: 11
I had the same problem after upgrading a firmware - IDE stopped connecting to real TV "Could not connect to the device "name", please check the device connection." I tried to reinstall the Developer Mode application - after deleting the app a new installation caused an error (something like "temporary error, try again later"). The reboot didn't solve the problem. I tried to connect to the TV via PuTTY, but connection was always refused (before this problem occured connection was successful). So, I did a factory reset of the TV, then installation of the Developer Mode app was successful, and the whole problem was gone - now IDE successfully connects to the TV. I think, it was an internal problem in the TV - for example, SSH-server didn't work properly.
Upvotes: 1
Reputation: 566
My issue was solved when I disabled Hyper-V
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All
and ran virtualbox machine manually
Upvotes: 0
Reputation: 211
My issue was solved when I changed the device name from Home Office to home. I think a space in the device name was causing the error.
Upvotes: 5
Reputation: 55
according to this LG Developer help it says that you should change your port to 22
Upvotes: 0