I get this error when I trying to connect to my tv with webOS TV CLI:
C:\webOS_TV_SDK\CLI>ares-install --device tv --list
ares-install ERR! uncaughtException InvalidAsn1Error: encoding too long
In the webOS IDE I get: Please check the device "tv" authentication credentials.
Anyone know what the error can be and how to fix it?
This issue can happen when you have the wrong ssh private key associated with the device, or no ssh key at all. In the Developer Mode app, start the key server. Using CLI tools, run (replace <device name>
by actual device name):
ares-novacom --device <device name> --getkey
There will be a command prompt to enter Passphrase. Enter the exact characters (case sensitive) as displayed on the TV screen in the Dev app. The passphrase consists of 6 characters and is shown in the bottom left side of the Developer Mode app screen.